//Method to get account details public IEnumerable <AccountDetails> DisplayAccountDetails() { EmployeeContext employeeContext = new EmployeeContext(); return(employeeContext.Account.ToList()); }
//Method to get the employees public List <Employee> GetEmployees() { EmployeeContext employeeContext = new EmployeeContext(); return(employeeContext.Employees.ToList()); }