コード例 #1
0
ファイル: HomeController.cs プロジェクト: robevision/Rolory
 public ActionResult Index()
 {
     ViewBag.Alert = null;
     msg           = new MessageManagement();
     msg.GenerateAllUserEmails();
     if (msg.CycleMessages() == true)
     {
         ViewBag.Alert = "You have a new message!";
     }
     return(View());
 }
コード例 #2
0
 public InteractionsController()
 {
     db  = new ApplicationDbContext();
     msg = new MessageManagement();
     CycleGoalStatus();
 }
コード例 #3
0
 public MessagesController()
 {
     db  = new ApplicationDbContext();
     msg = new MessageManagement();
 }