public ActionResult NotifyPool(NotificationModelForPool model) { int? notificationId = 0; CloudCoreDB.Context.Cloudcore_NotificationCreateByAccessPool(model.AccessPoolId, CloudCoreIdentity.UserId, model.Subject, model.Message, ref notificationId); SessionInfo.LastNotifyUpdate = DateTime.Now.AddDays(-1); ShowSuccessMessage(string.Format(@"Users in Access Pool ""{0}"" have been notified.", model.AccessPoolName)); return View(model); }
public ActionResult NotifyPool() { var model = new NotificationModelForPool(); return View(model); }