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