Пример #1
0
 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());
 }
Пример #2
0
 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));
 }
Пример #3
0
 public ActionResult Results(Models.HomePageInputs myInputs)
 {
     SwoleGoal.Models.ParagraphCreator myCreator = new SwoleGoal.Models.ParagraphCreator(myInputs);
     return(View(myCreator.Outputs));
 }