public ActionResult ComposeAnnouncement(AnnouncementModel model) { AnnouncementRepository repository = new AnnouncementRepository(); repository.AddAnnouncement(User.Identity.Name, model.title, model.body); return RedirectToAction("SendAnnouncement"); }
public Course() { Assignments = new List<Assignment>(); Announcement = new AnnouncementModel(); }
public Course() { Assignments = new List <Assignment>(); Announcement = new AnnouncementModel(); }