Example #1
0
 public static TariffList ViewTariff(String tariffID)
 {
     try
     {
         Icontext objinter = new BALTariff();
         TariffList tariff = (TariffList)objinter.ViewRecord(Convert.ToInt64(tariffID));
         return tariff;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #2
0
 public static bool UpdateTariff(TariffMaster tariff)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALTariff();
         flag = objinter.UpdateRecord(tariff);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Example #3
0
 public static Boolean UpdatePropertyBandInTariff(PropertyBandInTariffClass map)
 {
     Boolean flag = false;
     try
     {
         IMapping objtext = new BALTariff();
         flag = objtext.UpdateMapping(map);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Example #4
0
 public static IEnumerable<DAL.TariffList> TariffList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALTariff();
         IEnumerable<DAL.TariffList> listRecord = (IEnumerable<DAL.TariffList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #5
0
 public static IEnumerable<DAL.TariffList> TariffList()
 {
     try
     {
         Icontext objtext = new BALTariff();
         IEnumerable<DAL.TariffList> listRecord = (IEnumerable<DAL.TariffList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #6
0
 public static TariffMaster EditTariff(String tariffID)
 {
     try
     {
         Icontext objinter = new BALTariff();
         TariffMaster tariff = (TariffMaster)objinter.EditRecord(Convert.ToInt64(tariffID));
         return tariff;
     }
     catch (Exception ex)
     {
         throw;
     }
 }