public bool Remove(long id) { var entity = GetById(id); if (entity == null) { return(false); } return(_repository.Remove(entity)); }
public bool Remove(GeneralCategory entity) { return(_repository.Remove(entity)); }