Beispiel #1
0
        public bool Delete(int?id)
        {
            int rowAffected = _Repository.Delete(id);

            bool isDeleted = rowAffected > 0;

            return(isDeleted);
        }
        public bool Delete(GeneralCategory generalCategory)
        {
            int rowAffected = generalCategoryRepository.Delete(generalCategory);

            bool isSaved = rowAffected > 0;

            return(isSaved);
        }