public bool Remove(long id)
        {
            var entity = GetById(id);

            if (entity == null)
            {
                return(false);
            }
            return(_repository.Remove(entity));
        }
Example #2
0
 public bool Remove(GeneralCategory entity)
 {
     return(_repository.Remove(entity));
 }