private static ProdCategory ConvertToProduct(ProdCategoryView modelView) { var dev = new ProdCategory { CategoryId = modelView.CategoryId, CategoryName = modelView.CategoryName, }; return dev; }
public void Insert(ProdCategory model) { _prodCategoryRepository.Insert(model); }
public void Update(ProdCategory model) { _prodCategoryRepository.Update(model); }
public void Delete(ProdCategory model) { _prodCategoryRepository.Delete(model); }