Beispiel #1
0
 public static List<SelectListItem> SearchFieldDDList()
 {
     try
     {
         ISearchField sobj = new BALBillData();
         List<SelectListItem> lstsearchField = sobj.SearchField();
         return lstsearchField;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #2
0
 public static IEnumerable<DAL.BillClass> ConsumerBillRecordList(String ConsumerID, String ComsumerType)
 {
     try
     {
         IListView2 objtext = new BALBillData();
         IEnumerable<DAL.BillClass> listRecord = (IEnumerable<DAL.BillClass>)objtext.RecordList(ConsumerID, ComsumerType);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #3
0
 public static IEnumerable<DAL.GenerateBillingclass> GenerateBillingByDeviceRecordList(String DeviceID, String processDate)
 {
     try
     {
         ISearchResult objtext = new BALBillData();
         IEnumerable<DAL.GenerateBillingclass> listRecord = (IEnumerable<DAL.GenerateBillingclass>)objtext.SearchResultList(DeviceID, processDate);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #4
0
 public static void BillSendByMail(String BillNo)
 {
     try
     {
         IUpdatedRecord objtext = new BALBillData();
          objtext.UpdateRecord(BillNo);
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #5
0
 public static IEnumerable<DAL.BillClass> BillRecordList(String Field, String Value, String Todate)
 {
     try
     {
         IListView objtext = new BALBillData();
         IEnumerable<DAL.BillClass> listRecord = (IEnumerable<DAL.BillClass>)objtext.RecordList(Field, Value, Todate);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #6
0
 public static IEnumerable<DAL.BillClass> BillRecordList()
 {
     try
     {
         IListRecord objtext = new BALBillData();
         IEnumerable<DAL.BillClass> listRecord = (IEnumerable<DAL.BillClass>)objtext.ListRecord();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #7
0
 public static IEnumerable<DAL.BillDetailClass> BillDetailRecordList( String BillNo)
 {
     try
     {
         IGetAllRecordList objtext = new BALBillData();
         IEnumerable<DAL.BillDetailClass> listRecord = (IEnumerable<DAL.BillDetailClass>)objtext.RecordList(BillNo);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Beispiel #8
0
 public static IEnumerable<DAL.BillClass> PreviousBillList(String PropertyID, String OwnerID, String ConsumerID)
 {
     try
        {
        IRecordList3 objtext = new BALBillData();
        IEnumerable<DAL.BillClass> listRecord = (IEnumerable<DAL.BillClass>)objtext.RecordList(PropertyID, OwnerID, ConsumerID);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }