public ActionResult History() { var model = new SimpleVcs(_dataProvider); var result = model.LoadAssembliesHistory(); return(View(result)); }
public ActionResult HistoryItem(string guid) { if (string.IsNullOrEmpty(guid)) { return(View("History")); } var model = new SimpleVcs(_dataProvider); var result = model.LoadChangesHistory(guid); return(View("HistoryItem", result)); }
public ActionResult Upload(HttpPostedFileBase file) { if (file == null) { return(View((object)null)); } var model = new SimpleVcs(_dataProvider); var result = model.SaveNewChanges(file.FileName, file.InputStream); return(View(result)); }