public ActionResult <QualityDefinitionResource> Update(QualityDefinitionResource resource) { var model = resource.ToModel(); _qualityDefinitionService.Update(model); return(Accepted(model.Id)); }
private void Update(QualityDefinitionResource resource) { var model = resource.ToModel(); _qualityDefinitionService.Update(model); }
private void Update(QualityDefinitionResource resource) { var model = resource.InjectTo <QualityDefinition>(); _qualityDefinitionService.Update(model); }