示例#1
0
        public override ActionResult EditOnSuccess(GNNotificationTopic entity)
        {
            //update addressees
            NotificationTopicAddresseeService NotificationAddresseeService = new NotificationTopicAddresseeService(db);

            NotificationAddresseeService.Edit(entity);

            //update subscribers
            //to do

            return(RedirectToAction("Details", new{ id = entity.Id }));
        }
示例#2
0
 public NotificationTopicAddresseesController()
     : base()
 {
     entityService = new NotificationTopicAddresseeService(base.db);
 }