public int UpdateCategory(Models.DomainModels.ProductCategory productCategory)
        {
            prodCategoryRepository.Update(productCategory);
            prodCategoryRepository.SaveChanges();

            return(productCategory.ProductCategoryID);
        }
        public int AddCategory(Models.DomainModels.ProductCategory productCategory)
        {
            prodCategoryRepository.Add(productCategory);
            prodCategoryRepository.SaveChanges();

            return(productCategory.ProductCategoryID); // If Exception occurs this line will not be executed
        }