Пример #1
0
        private static ProdCategory ConvertToProduct(ProdCategoryView modelView)
        {
            var dev = new ProdCategory
               {

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

               };
               return dev;
        }
Пример #2
0
 public void Insert(ProdCategory model)
 {
     _prodCategoryRepository.Insert(model);
 }
Пример #3
0
 public void Update(ProdCategory model)
 {
     _prodCategoryRepository.Update(model);
 }
Пример #4
0
 public void Delete(ProdCategory model)
 {
     _prodCategoryRepository.Delete(model);
 }