Esempio n. 1
0
 public async Task <ActionResult <CarWashShortModel> > DeleteCarWash(int carWashId) => await Exec(async operation =>
 {
     VerifyUser(UserRole.Company);
     var carWash = await companyProfileService.DeleteCarWash(operation, carWashId);
     return(new CarWashShortModel().ToModel(carWash));
 });