public static CurrencyMaster ViewCurrency(String CurrencyID) { try { Icontext objinter = new BALCurrency(); CurrencyMaster currency = (CurrencyMaster)objinter.ViewRecord(Convert.ToInt64(CurrencyID)); return currency; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.CurrencyList> CurrencyList(String Field, String Value) { try { ISearchResult objtext = new BALCurrency(); IEnumerable<DAL.CurrencyList> listRecord = (IEnumerable<DAL.CurrencyList>)objtext.SearchResultList(Field, Value); return listRecord; } catch (Exception ex) { throw; } }
public static bool UpdateCurrency(CurrencyMaster currency) { Boolean flag = false; try { Icontext objinter = new BALCurrency(); flag = objinter.UpdateRecord(currency); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.CurrencyList> CurrencyList() { try { Icontext objtext = new BALCurrency(); IEnumerable<DAL.CurrencyList> listRecord = (IEnumerable<DAL.CurrencyList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }