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 })); }
public NotificationTopicAddresseesController() : base() { entityService = new NotificationTopicAddresseeService(base.db); }