public HttpResponseMessage GetPaymentsByUser(int buildingId, int userId) { var x = PaymentBL.GetPaymentsByUser(buildingId, userId); return(Request.CreateResponse(HttpStatusCode.OK, x)); }