You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
667 B

  1. using Common.Models.RequestResponse;
  2. using Common.TPService;
  3. using JMENepal.JMENepalAPIService;
  4. using log4net;
  5. namespace Business.BusinessLogic.TPApiServices.JMENepal
  6. {
  7. public class JMENepalServices : ITPApiServices
  8. {
  9. private readonly ILog _log = LogManager.GetLogger(typeof(JMENepalServices));
  10. private readonly IJMENepalAPI _jMENepalAPI;
  11. public JMENepalServices(IJMENepalAPI jMENepalAPI)
  12. {
  13. _jMENepalAPI = jMENepalAPI;
  14. }
  15. public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class
  16. {
  17. return _jMENepalAPI.GetTPResponse(model, MethodName);
  18. }
  19. }
  20. }