Beispiel #1
0
        public async Task <IActionResult> InsertProjectManager(CreateUserDto projectManagerDto)
        {
            if (ModelState.IsValid)
            {
                await projectManagerRepository.InsertProjectManager(projectManagerDto);

                return(RedirectToAction("ShowProjectManagers"));
            }
            else
            {
                return(View("Create"));
            }
        }