|
|
using Common.Model.BenificiaryModel; using Common.Model.CustomerModel; using Common.Utility; using Repository.DAO; using Repository.Repository.OnlineCustomerDao; using System; using System.Data;
namespace Business.Customer { public class CustomerServices : ICustomerServices { private readonly ICustomerRepository _customerRepo; public CustomerServices(ICustomerRepository customerRepo) { _customerRepo = customerRepo; } public DbResult AddCustomerSignature(string customerId, string user, string fileName, string signaturetype, string signatureId) { return _customerRepo.AddCustomerSignature(customerId, user, fileName, signaturetype, signatureId); }
public string GetCustomerDetailsForFileUpload(string customerId) { return _customerRepo.GetCustomerDetailsForFileUpload(customerId); }
public DataTable GetAddressByZipCodeNew(string zipCode, string user, string rowId) { return _customerRepo.GetAddressByZipCodeNew(zipCode, user, rowId); }
public DataRow GetCustomerDetails(string customerId, string user) { return _customerRepo.GetCustomerDetails(customerId, user); }
public DataTable GetCustomerDetailsWitDT(string customerId, string user) { return _customerRepo.GetCustomerDetailsWitDT(customerId, user); }
public DataSet GetCustomerInfoFromMembershiId(string user, string membershipId) { return _customerRepo.GetCustomerInfoFromMembershiId(user, membershipId); }
public DataTable GetDetailsForEditCustomer(string customerId, string user) { return _customerRepo.GetDetailsForEditCustomer(customerId, user); }
public DataTable GetDocumentByCustomerId(string customerId) { return _customerRepo.GetDocumentByCustomerId(customerId); }
public DataRow GetRequiredCustomerDetails(string customerId, string user) { return _customerRepo.GetRequiredCustomerDetails(customerId, user); }
public DataSet LoadCustomerDataNew(string user, string customerId, string flag, string sCountryId, string settlementAgent) { return _customerRepo.LoadCustomerDataNew(user, customerId, flag, sCountryId, settlementAgent); }
public DataTable LoadDataPaymentModeDdl(string sCountryid, string pCountry, string collMode, string agentId, string flag, string user) { return _customerRepo.LoadDataPaymentModeDdl(sCountryid,pCountry,collMode,agentId,flag,user); }
public DbResult RegisterCustomerAndReceiver(OnlineCustomerModel onlineCustomerModel, BenificiaryModel beniciaryModel) { return _customerRepo.RegisterCustomerAndReceiver(onlineCustomerModel, beniciaryModel); }
public DbResult RegisterCustomerNew(OnlineCustomerModel onlineCustomerModel) { return _customerRepo.RegisterCustomerNew(onlineCustomerModel); }
public DbResult UpdateBenificiarInformation(BenificiaryModel benificiar, string user) { return _customerRepo.UpdateBenificiarInformation(benificiar,user); }
public DbResult UpdateCustomerDocument(string cdId, string customerId, string fileName, string fileDescription, string fileType, string documentType, string user) { return _customerRepo.UpdateCustomerDocument(cdId, customerId, fileName, fileDescription, fileType, documentType, user); } } }
|