コード例 #1
0
ファイル: EmployerController.cs プロジェクト: PaulLol/Csharp
        public IActionResult Update(string id, [FromBody] Employer employerIn)
        {
            var employer = _employerService.Get(id);

            if (employer == null)
            {
                return(NotFound());
            }

            _employerService.Update(id, employerIn);

            return(Ok());
        }