Esempio n. 1
0
        public async Task <IActionResult> CreateCompetitions(string input = null)
        {
            _logger.LogInformation("admin view creat competitions");
            var view = new CompetitionsViewModels
            {
                Runways = await runways.GetAllRunwaysAsync(),
                Text    = input,
            };

            return(this.View(view));
        }
Esempio n. 2
0
        public async Task <IActionResult> Runway(string input = null)
        {
            _logger.LogInformation("view runways");
            var viewModel = new RunwayViewModels
            {
                Runways = await runway.GetAllRunwaysAsync(),
                Text    = input,
            };

            return(this.View(viewModel));
        }