public ActionResult Create() { var models = this.DeserializeObject <IEnumerable <GanttDependencyModel> >("models"); if (models != null) { GanttDependencyRepository.Insert(models); } return(this.Jsonp(models)); }
public ActionResult Index() { return(this.Jsonp(GanttDependencyRepository.All())); }