public HttpResponseMessage UnfriendRequest(SignForm toUsername) { ClaimsPrincipal loggedUser = (ClaimsPrincipal)HttpContext.Current.User; UserDbManager.UnfriendRequest(loggedUser.FindFirst("username").Value, toUsername.Username); return(Request.CreateResponse(HttpStatusCode.OK)); }