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