コード例 #1
0
        public async Task <IActionResult> Edit(PersonInfoBindingModel input)
        {
            if (!ModelState.IsValid)
            {
                return(this.NotFound());
            }

            var newDate = DateTime.Parse(input.QuarantineEndDate);

            await peopleService.EditAsync(input.Id, input.Name, input.UCN, input.City, newDate);

            return(this.Ok());
        }