public int Count(params object[] parameters) { try { return(repository.Count(parameters)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public int Count(Expression <Func <Rol, bool> > where) { return(_rolRepository.Count(where)); }