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.
 
 
 
 
 

50 lines
1.9 KiB

using CustomerOnlineV2.Common.Models.AccountModel;
using CustomerOnlineV2.Common.Models.HomeModel;
using CustomerOnlineV2.Repository.Repository.HomeRepository;
using Microsoft.Extensions.Logging;
namespace CustomerOnlineV2.Business.Business.HomeBusiness
{
public class HomeBusiness : IHomeBusiness
{
private readonly ILogger<HomeBusiness> _logger;
private readonly IHomeRepository _homeRepo;
public HomeBusiness(ILogger<HomeBusiness> logger, IHomeRepository homeRepo)
{
_logger = logger;
_homeRepo = homeRepo;
}
public async Task<CustomerReceiverModel> GetCustomerReceiverList(LoginResponse loginDetails)
{
return await _homeRepo.GetCustomerReceiverList(loginDetails);
}
public async Task<CustomerTransactionList> GetCustomerTransactionList(LoginResponse loginDetails)
{
return await _homeRepo.GetCustomerTransactionList(loginDetails);
}
public async Task<CommonDropDownList> GetDDLList(CommonDropDownModel model, LoginResponse loginDetails)
{
return await _homeRepo.GetDDLList(model, loginDetails);
}
public async Task<CustomerTransactionList> GetTranDetailById(string tranId)
{
return await _homeRepo.GetTranDetailById(tranId);
}
public async Task<CustomerReceiverModel> GetReceiverDetailById(string id)
{
return await _homeRepo.GetReceiverDetailById(id);
}
public async Task<CustomerReceiverModel> GetAllReceiverList(LoginResponse loginDetails)
{
return await _homeRepo.GetAllReceiverList(loginDetails);
}
public async Task<CustomerNotificationModel> GetCustomerNotifList(LoginResponse loginDetails)
{
return await _homeRepo.GetCustomerNotifList(loginDetails);
}
}
}