public int Insert(Services.BillConsumption.BillConsumptionAddViewModel model, ref string ErrorMsg)
 {
     IRepository = new BillConsumptionRepository();
     return(IRepository.Insert(model, ref ErrorMsg));
 }
 public LastReadingDetial GetLastReadingDetail(string ContractNo)
 {
     IRepository = new BillConsumptionRepository();
     return(IRepository.GetLastReadingDetail(ContractNo));
 }
 public List <BillConsumptionViewModel> GetListView()
 {
     IRepository = new BillConsumptionRepository();
     return(IRepository.GetListView());
 }
 public decimal GetBillOutstanding(string ContractNo)
 {
     IRepository = new BillConsumptionRepository();
     return(IRepository.GetBillOutstanding(ContractNo));
 }