public ActionResult <List <string> > GetRoles() { var roles = _repository.GetRoles(); return(roles.Select(x => x.Name).ToList()); }