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.
 
 
 
 
 

36 lines
1.3 KiB

using CustomerOnlineRemit.Common.Model.Account;
using CustomerOnlineRemit.Common.Model;
using CustomerOnlineRemit.Repository.Repository.Account;
using CustomerOnlineRemit.Common.Model.Customer;
namespace CustomerOnlineRemit.Business.Business.Account
{
public class AccountBusiness : IAccountBusiness
{
IAccountRepository _accountRepo;
public AccountBusiness(IAccountRepository accountRepository)
{
_accountRepo = accountRepository;
}
public async Task<LoginResponse> DoLoginAsync(LoginModel loginModel)
{
return await _accountRepo.DoLoginAsync(loginModel);
}
public async Task<CustomerReceiverModel> GetCustomerReceiverList(bool ShowAll, LoginResponse loginDetails)
{
return await _accountRepo.GetCustomerReceiverList(ShowAll, loginDetails);
}
public async Task<CustomerTransactionList> GetCustomerTransactionList(bool ShowAll, LoginResponse loginDetails)
{
return await _accountRepo.GetCustomerTransactionList(ShowAll, loginDetails);
}
public async Task<DropDownModel> GetDynamicDropDown(string flag, LoginResponse loginDetails, string selectedValue1 = "")
{
return await _accountRepo.GetDynamicDropDown(flag, loginDetails, selectedValue1);
}
}
}