public List <Department> GetDepartments() { EmployeeDbContext edc = new EmployeeDbContext(); return(edc.Departments.ToList()); }