public ActionResult Index() { var list = new List <Task>(); for (int a = 1; a < 1000000; a++) { list.Add( new Task { Title = "Some Title " + a, Value = "Some Value" } ); } _tasksManagerRepository.AddNewTasks(list); return(View()); }
public ActionResult Index() { var list = new List <Task>(); for (int a = 1; a < 1000000; a++) { list.Add( new Task { Title = "Some Title " + a, Value = "Some Value" } ); } _tasksManagerRepository.AddNewTasks(list); return(View()); }