Это две модели
public class Employee
{
public int Id { get; set; }
public string EmployeeName { get; set; }
public string City { get; set; }
public string MobileNo { get; set; }
public string Email { get; set; }
public int DepartmentId { get; set; }
}
public class Department
{
public int DepartmentId { get; set; }
public string DepartmentName { get; set; }
}
Теперь, как отобразить данные обеих моделей в виде одной таблицы Html, используя ViewModel