Beispiel #1
0
        public override string[] GetRolesForUser(string username)
        {
            MonitoriaContext db = new MonitoriaContext();

            string sRoles = db.Usuario.Where(model => model.Email == username).FirstOrDefault().Cargo.NomeCargo;

            string[] retorno = { sRoles };
            return(retorno);

            throw new NotImplementedException();
        }