public async Task<IHttpActionResult> PostPetOwner(PetOwner petOwner)
 {
     var result = await _policyProvider.Create(petOwner);
     return Created(string.Empty, result);
 }
Example #2
0
 public async Task<IHttpActionResult> PostPetOwner(PetOwner petOwner)
 {
     var result = await _policyProvider.Enroll(petOwner);
     return Ok(result);
 }