public async Task <string> UpdateBoat([FromBody] BoatDisplayViewModel model) { var customer = mapper.Map <Boat>(model); var successMessage = await boatRepository.Edit(customer.Id, customer); return(successMessage); }