Example #1
0
        public Role RetrieveById(Role role)
        {
            role        = _crudRole.Retrieve <Role>(role);
            role.Vistas = _crudVista.RetrieveByRole <Vista>(role.RoleId);

            return(role);
        }
Example #2
0
 public List <Vista> RetrieveViewByRole(string roleId)
 {
     return(_crudVista.RetrieveByRole <Vista>(roleId));
 }