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.
 
 

21 lines
531 B

using Common.Models.RequestResponse;
using Common.TPService;
using Donga.DongaAPIService;
namespace Business.BusinessLogic.TPApiServices.Donga
{
public class DongaServices : ITPApiServices
{
private readonly IDongaAPI _dongaAPI;
public DongaServices(IDongaAPI dongaAPI)
{
_dongaAPI = dongaAPI;
}
public TPResponse GetTPResponse<T>(T model, string MethodName) where T : class
{
return _dongaAPI.GetTPResponse(model, MethodName);
}
}
}