예제 #1
0
        public async Task <IActionResult> CreateOrganization(Organization organization)
        {
            if (ModelState.IsValid)
            {
                await _systemService.CreateOrganization(organization);

                return(RedirectToAction(nameof(Organizations)));
            }
            return(View(organization));
        }