Esempio n. 1
0
        private static ProdCategory ConvertToProduct(ProdCategoryView modelView)
        {
            var dev = new ProdCategory
               {

               CategoryId = modelView.CategoryId,
               CategoryName = modelView.CategoryName,

               };
               return dev;
        }
Esempio n. 2
0
 public void Insert(ProdCategory model)
 {
     _prodCategoryRepository.Insert(model);
 }
Esempio n. 3
0
 public void Update(ProdCategory model)
 {
     _prodCategoryRepository.Update(model);
 }
Esempio n. 4
0
 public void Delete(ProdCategory model)
 {
     _prodCategoryRepository.Delete(model);
 }