public ActionResult Index(string search = "") { TaskViewModel viewModel = new TaskViewModel() { Tasks = taskLogic.GetTasksByDescription(search) }; return(View(viewModel)); }
public ActionResult Index(string search = "") { TaskViewModel viewModel = new TaskViewModel() { Tasks = taskLogic.GetTasksByDescription(search) }; return(View(viewModel)); }