/// <summary> /// Adds a Business Partner /// </summary> public void Put(BusinessPartnerDetail businessPartner) { if (businessPartner == null || !ModelState.IsValid) { throw new HttpException((int)HttpStatusCode.BadRequest, "Invalid Request"); } businessPartnerService.AddBusinessPartner(businessPartner.CreateFrom()); }