Beispiel #1
0
        public IActionResult Update(string id, [FromBody] Employer employerIn)
        {
            var employer = _employerService.Get(id);

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

            _employerService.Update(id, employerIn);

            return(Ok());
        }