コード例 #1
0
 public async Task <ActionResult <CarModel> > GetCar(int carId) => await Exec(async operation =>
 {
     VerifyUser(UserRole.Client);
     var entity = await clientProfileService.GetCarById(operation, carId);
     return(new CarModel().ToModel(entity));
 });