Exemplo n.º 1
0
 public HttpResponseMessage GetUsersLogged()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, UserDbManager.GetUsers(((ClaimsPrincipal)HttpContext.Current.User).FindFirst("username").Value)));
 }
Exemplo n.º 2
0
 public HttpResponseMessage GetUsers()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, UserDbManager.GetUsers()));
 }