Esempio n. 1
0
        public ActionResult UpdateProductsCategory(string ID)
        {
            PLog.Info("BEGIN::Controller > Home, Method > UpdateProductsCategory(string ID");
            ProductsCategoryModel  objModel  = null;
            IProductsCategoryImple oProducts = new ProductsCategoryImple();

            try
            {
                if (!string.IsNullOrEmpty(ID))
                {
                    objModel = oProducts.EditProdcutCategory(Convert.ToInt32(ID));
                }
            }
            catch (Exception ex)
            {
                PLog.Error("Error::Controller > Home, Method > UpdateProductsCategory(string ID)", ex);
            }
            PLog.Info("END::Controller > Home, Method > UpdateProductsCategory(string ID)");
            return(View($"ProductsCategory", objModel));
        }