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