public async Task <IServiceResponse <bool> > UpateFranchise(int id, FranchiseDTO franchise)
        {
            return(await HandleApiOperationAsync(async() => {
                await _franchiseService.UpdateFranchise(id, franchise);

                return new ServiceResponse <bool>(true);
            }));
        }
Beispiel #2
0
 public void Put(int id, [FromBody] FranchiseModel model)
 {
     franchiseService.UpdateFranchise(id, model);
 }