Example #1
0
        public override bool IsUserInRole(string username, string roleName)
        {
            List <Rol> roles = new RolRepository().ListarPorNombreUsuario(username);

            return(roles.Exists(p => p.Nombre == roleName));
        }