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

            return(successMessage);
        }