Example #1
0
        //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;
            }
        }
Example #2
0
        //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;
            }
        }
Example #3
0
        //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;
            }
        }
Example #4
0
        //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;
            }
        }
Example #5
0
 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;
     }
 }
Example #6
0
        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);
        }