Exemple #1
0
        public async Task <IActionResult> Register(Person Input)
        {
            var personnew = await _personAppService.CreatePerson(Input);

            var output = _personAppService.GetPeopleList();

            output.Add(personnew);
            output.OrderByDescending(t => t.CreationTime);
            return(View("PeopleList", output));
        }