Exemplo n.º 1
0
 public ActionResult Request(int mid, long ticks, int[] pids, string subject, string message, int limit, int? additional)
 {
     var m = new VolunteerRequestModel(mid, Util.UserPeopleId.Value, ticks)
         {subject = subject, message = message, pids = pids, limit = limit };
     m.SendEmails(additional ?? 0);
     return Content("Emails are being sent, thank you.");
 }
Exemplo n.º 2
0
 public ActionResult Request0(long ticks, int oid, int limit)
 {
     var time = new DateTime(ticks); // ticks here is meeting time
     var mid = DbUtil.Db.CreateMeeting(oid, time);
     var vs = new VolunteerRequestModel(mid, Util.UserPeopleId.Value) {limit = limit };
     vs.ComposeMessage();
     return View("Request", vs);
 }
Exemplo n.º 3
0
 public ActionResult Request(int mid, int limit)
 {
     var vs = new VolunteerRequestModel(mid, Util.UserPeopleId.Value) {limit = limit };
     vs.ComposeMessage();
     return View(vs);
 }