コード例 #1
0
 public async Task <CarWashServiceShortEntity> AddCarWashService(IOperation operation, int carWashId, CarWashServiceEntity entity)
 {
     if (!await carWashStore.IsExist(operation, carWashId))
     {
         throw new Exception(ExceptionMessage.CarWashIsNotExist);
     }
     return(await carWashServiceStore.Add(operation, carWashId, entity));
 }