Exemplo n.º 1
0
 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;
     }
 }
Exemplo n.º 2
0
 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;
     }
 }
Exemplo n.º 3
0
        public static bool UpdateCurrency(CurrencyMaster currency)
        {
            Boolean flag = false;
            try
            {
                Icontext objinter = new BALCurrency();
                flag = objinter.UpdateRecord(currency);
            }
            catch (Exception ex)
            {
                throw;
            }

            return flag;
        }
Exemplo n.º 4
0
 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;
     }
 }