بأمكانك عمل ViewModel خاص يحتوي على اثنين Model
public class DepartmentAndWriterViewModel
{
public Department Departments{get;set;}
public Writer Writers {get;set;}
}
ثم تبعتها لل View
public ActionResult Index()
{
var department = from r in _db.department select r;
var writer = from r in _db.Writer select r;
var model = new DepartmentAndWriterViewModel {department = department.ToArray(), writer = writer};
return View(model);
}