public async Task <IActionResult> Clients() { List <Client> clients = await _context.GetAllClients(); ClientsViewModel viewModel = new ClientsViewModel { Clients = clients }; return(View(viewModel)); }
public async Task <IActionResult> Clients() { List <Client> clients = await _context.GetAllClients(); ClientsViewModel viewModel = new ClientsViewModel { Clients = clients }; return(View(viewModel)); }