/// <summary> /// Get Business Partner For Rental Agreement /// </summary> public BusinessPartnerDetail Get([FromUri] GetBusinessPartnerRequest request) { if (request == null || !ModelState.IsValid) { throw new HttpException((int)HttpStatusCode.BadRequest, "Invalid Request"); } return(businessPartnerService.GetForRentalAgreement(request).CreateFromForRa()); }