public ActionResult AddSourceContact(int id, int contactid) { var tasks = new TaskModel(); tasks.AddSourceContact(id, contactid); return(PartialView("Detail", tasks.FetchTask(id))); }