Example #1
0
 public IList <Rol> GetPaged(params object[] parameters)
 {
     try
     {
         var lista = repository.GetPaged(parameters);
         foreach (var item in lista)
         {
             item.Empresa = EmpresaBL.Instancia.Single(item.IdEmpresa);
         }
         return(lista);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }