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.
23 lines
667 B
23 lines
667 B
using Common.Models.RequestResponse;
|
|
using Common.TPService;
|
|
using JMENepal.JMENepalAPIService;
|
|
using log4net;
|
|
|
|
namespace Business.BusinessLogic.TPApiServices.JMENepal
|
|
{
|
|
public class JMENepalServices : ITPApiServices
|
|
{
|
|
private readonly ILog _log = LogManager.GetLogger(typeof(JMENepalServices));
|
|
private readonly IJMENepalAPI _jMENepalAPI;
|
|
|
|
public JMENepalServices(IJMENepalAPI jMENepalAPI)
|
|
{
|
|
_jMENepalAPI = jMENepalAPI;
|
|
}
|
|
|
|
public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class
|
|
{
|
|
return _jMENepalAPI.GetTPResponse(model, MethodName);
|
|
}
|
|
}
|
|
}
|