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; } }
public static bool UpdateTariff(TariffMaster tariff) { Boolean flag = false; try { Icontext objinter = new BALTariff(); flag = objinter.UpdateRecord(tariff); } catch (Exception ex) { throw; } return flag; }
public static Boolean UpdatePropertyBandInTariff(PropertyBandInTariffClass map) { Boolean flag = false; try { IMapping objtext = new BALTariff(); flag = objtext.UpdateMapping(map); } catch (Exception ex) { throw; } return flag; }
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; } }
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; } }
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; } }