public HttpResponseMessage GetInvitationsSent(int userid) { var result = _friendsService.GetInvitationsSent(userid); return(Request.CreateResponse(HttpStatusCode.OK, result)); }