public List <Customer.CustomerViewModel> GetListView()
 {
     IRepository = new CustomerRepository();
     return(IRepository.GetListView());
 }
 public int Insert(Core.Domain.Customer model, ref string ErrorMsg)
 {
     IRepository = new CustomerRepository();
     return(IRepository.Insert(model, ref ErrorMsg));
 }
 public CustomerDetailViewModel GetCustomerDetail(string ContractNo)
 {
     IRepository = new CustomerRepository();
     return(IRepository.GetCustomerDetail(ContractNo));
 }