Beispiel #1
0
        public ActionResult Index()
        {
            InitialBioInformatixModel model = new InitialBioInformatixModel()
            {
                NewProject = new Class.SequenceProject(), Projects = bioService.GetProjects(GetAuthUserId())
            };

            return(View(model));
        }
Beispiel #2
0
 public ActionResult SaveProject(InitialBioInformatixModel model)
 {
     bioService.SaveProject(model.NewProject, GetAuthUserId());
     ActualizeUserProject(model.NewProject.IdString);
     return(RedirectToAction("Index", "Project"));
 }