コード例 #1
0
 public async Task <CarWashServiceShortEntity> UpdateCarWashService(IOperation operation, CarWashServiceEntity entity)
 {
     if (!await carWashServiceStore.IsExist(operation, entity.Id))
     {
         throw new Exception(ExceptionMessage.CarWashServicePriceIsNotExist);
     }
     return(await carWashServiceStore.Update(operation, entity));
 }