public ActionResult <DelayProfileResource> Update(DelayProfileResource resource) { var model = resource.ToModel(); _delayProfileService.Update(model); return(Accepted(model.Id)); }
private void Update(DelayProfileResource resource) { var model = resource.ToModel(); _delayProfileService.Update(model); }