Пример #1
0
        private static void CategoryUpdated()
        {
            EfCategoryDal efCategoryDal = new EfCategoryDal();

            efCategoryDal.Update(new Category()
            {
                CategoryId   = 1,
                CategoryName = "A Segmenti"
            });
        }
 public void Update(Category entity)
 {
     _categoryDal.Update(entity);
 }
Пример #3
0
 public Category Update(Category entity)
 {
     return(_categoryDal.Update(entity));
 }