Exemple #1
0
        public bool Update(GeneralCategory obj)
        {
            int rowAffected = _Repository.Update(obj);

            bool isUpdated = rowAffected > 0;

            return(isUpdated);
        }
Exemple #2
0
        public bool Update(GeneralCategory generalCategory)
        {
            bool isUpdated = repository.Update(generalCategory);

            return(isUpdated);

            ;
        }
 public bool Update(GeneralCategory entity)
 {
     return(_generalCategoryRepository.Update(entity));
 }