Example #1
0
 public static SupplyMaster EditSupply(String SupplyID)
 {
     try
     {
         Icontext objinter = new BALSupply();
         SupplyMaster Supply = (SupplyMaster)objinter.EditRecord(Convert.ToInt64(SupplyID));
         return Supply;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #2
0
 public static Boolean CreateSupply(SupplyMaster supply)
 {
     Boolean flag = false;
     try
     {
         Icontext objtext = new BALSupply();
         flag = objtext.CreateRecord(supply);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Example #3
0
 public static IEnumerable<DAL.SupplyList> SupplierList()
 {
     try
     {
         Icontext objtext = new BALSupply();
         IEnumerable<DAL.SupplyList> listRecord = (IEnumerable<DAL.SupplyList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #4
0
 public static SupplyList ViewSupply(String SupplyID)
 {
     try
     {
         Icontext objinter = new BALSupply();
         SupplyList vwSupply = (SupplyList)objinter.ViewRecord(Convert.ToInt64(SupplyID));
         return vwSupply;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #5
0
 public static List<SelectListItem> SearchFieldDDList()
 {
     ISearchField sobj = new BALSupply();
     List<SelectListItem> lstsearchField = sobj.SearchField();
     return lstsearchField;
 }