/* * Responsible for creating the Employee page when loaded in * This data includes information on employment data that is provided by the API */ public async Task <IActionResult> Employee() { var getEmp = new GetEmployee(); var emp = await getEmp.getAllEmps(); var empViewModel = new EmployeeViewModel() { employeeInformation = emp, Title = "Recent Employment Information" }; return(View(empViewModel)); }