Exemple #1
0
 public ActionResult <RestrictionResource> Update(RestrictionResource resource)
 {
     _restrictionService.Update(resource.ToModel());
     return(Accepted(resource.Id));
 }
Exemple #2
0
 private void UpdateRestriction(RestrictionResource resource)
 {
     _restrictionService.Update(resource.ToModel());
 }
Exemple #3
0
 private void Update(RestrictionResource resource)
 {
     _restrictionService.Update(resource.InjectTo <Restriction>());
 }