public IActionResult CreateTournamentHostLink(CreateHostLinkViewModel model) { string HostLink = organisationManager.CreateHostLink(model.OrganisationID); ViewData["HostLink"] = HostLink; return(View(model)); }
public IActionResult CreateTournamentHostLink() { List <OrganisationDTO> organisation = organisationManager.GetAllOrganisations(); ViewData["HostLink"] = "null"; CreateHostLinkViewModel model = new CreateHostLinkViewModel() { Organisations = organisation, }; return(View(model)); }