public ActionResult Index() { InitialBioInformatixModel model = new InitialBioInformatixModel() { NewProject = new Class.SequenceProject(), Projects = bioService.GetProjects(GetAuthUserId()) }; return(View(model)); }
public ActionResult SaveProject(InitialBioInformatixModel model) { bioService.SaveProject(model.NewProject, GetAuthUserId()); ActualizeUserProject(model.NewProject.IdString); return(RedirectToAction("Index", "Project")); }