public ActionResult NutritionWiki()
 {
     if (System.Web.HttpContext.Current.Session.Count != 0)
     {
         SwoleGoal.Models.ParagraphCreator myCreator = (SwoleGoal.Models.ParagraphCreator)System.Web.HttpContext.Current.Session["outputs"];
         return(View(myCreator));
     }
     //TDEE = TDEE +10%/-20%
     return(View());
 }
 public ActionResult Results(Models.HomePageInputs myInputs)
 {
     Models.ParagraphCreator myCreator = new SwoleGoal.Models.ParagraphCreator(myInputs);
     System.Web.HttpContext.Current.Session["outputs"] = myCreator;
     return(View(myCreator.Outputs));
 }
Exemple #3
0
 public ActionResult Results(Models.HomePageInputs myInputs)
 {
     SwoleGoal.Models.ParagraphCreator myCreator = new SwoleGoal.Models.ParagraphCreator(myInputs);
     return(View(myCreator.Outputs));
 }