よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <IActionResult> MyTickets(TicketStatuses ticketStatus, string userName) { ViewData["Title"] = localizer["myTicketsTitle"]; var tickets = await ticketsService.GetTicketsByStatusAndUserName(ticketStatus, userName); var model = new MyTicketsViewModel { Tickets = tickets, Events = await eventsService.GetEventsByTickets(tickets), Users = await usersAndRolesService.GetUsers(), ticketStatus = ticketStatus }; return(View(model)); }