コード例 #1
0
        public ActionResult <QualityDefinitionResource> Update(QualityDefinitionResource resource)
        {
            var model = resource.ToModel();

            _qualityDefinitionService.Update(model);
            return(Accepted(model.Id));
        }
コード例 #2
0
        private void Update(QualityDefinitionResource resource)
        {
            var model = resource.ToModel();

            _qualityDefinitionService.Update(model);
        }
コード例 #3
0
        private void Update(QualityDefinitionResource resource)
        {
            var model = resource.InjectTo <QualityDefinition>();

            _qualityDefinitionService.Update(model);
        }