Example #1
0
        public ActionResult <QualityDefinitionResource> Update(QualityDefinitionResource resource)
        {
            var model = resource.ToModel();

            _qualityDefinitionService.Update(model);
            return(Accepted(model.Id));
        }
Example #2
0
        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);
        }