//Action Performed #region [ActionPerformed For Item ] public int ItemAction_BL(EWA_Item objEWA) { try { DL_Item objDL = new DL_Item(); int flag = objDL.ItemAction_DL(objEWA); return(flag); } catch (Exception exp) { throw exp; } }
//Check Duplicate Item #region [Check Duplicate Item] public int CheckDuplicateItem_BL(EWA_Item objEWA) { try { DL_Item objDL = new DL_Item(); int i = objDL.CheckDuplicateItem_DL(objEWA); return(i); } catch (Exception exp) { throw exp; } }
//Item Grid Bind #region [Item Grid Bind] public DataSet BindItemGrid_BL() { try { DL_Item objDL = new DL_Item(); DataSet ds = objDL.BindItemGrid_DL(); return(ds); } catch (Exception exp) { throw exp; } }
//Bind Item Unit #region [Bind Item Unit] public DataSet BindUnit_BL(EWA_Item objEWA) { try { DL_Item objDL = new DL_Item(); DataSet ds = objDL.BindUnit_DL(objEWA); return(ds); } catch (Exception exp) { throw exp; } }
public DataSet GetItemCode_BL(EWA_Item objEWA) { try { DL_Item objDL = new DL_Item(); DataSet ds = objDL.GetItemCode_DL(objEWA); return(ds); } catch (Exception exp) { throw exp; } }
public override ADL_Item MapItemtoDLItem(Item item) { var result = new DL_Item(); result.Name = item.Name; result.Description = item.Description; result.CategoryId = item.CategoryId; result.Active = item.Active; result.Price = item.Price; result.Thumbnail = item.Thumbnail; result.Timestamp = item.Timestamp; return(result); }