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