Exemplo n.º 1
0
        public ActionResult <QualityDefinitionResource> Update(QualityDefinitionResource resource)
        {
            var model = resource.ToModel();

            _qualityDefinitionService.Update(model);
            return(Accepted(model.Id));
        }
Exemplo n.º 2
0
        private void Update(QualityDefinitionResource resource)
        {
            var model = resource.ToModel();

            _qualityDefinitionService.Update(model);
        }
Exemplo n.º 3
0
        private void Update(QualityDefinitionResource resource)
        {
            var model = resource.InjectTo <QualityDefinition>();

            _qualityDefinitionService.Update(model);
        }