示例#1
0
        public List <string> rolesPorEmail(string correo)
        {
            List <string> listStrR = new List <string>();

            int idPer = iPersona.getPerByEmail(correo).id;

            foreach (var rol in iPersona.getRol(idPer))
            {
                listStrR.Add(rol.ToString());
            }
            return(listStrR);
        }