public SchedulerLogic(IRepository repository, IEmailLogic emailLogic, IAlertLogic alertLogic, IHubContext <AlertServer> hubContext)
     : base(repository)
 {
     _emailLogic = emailLogic;
     _alertLogic = alertLogic;
     _hubContext = hubContext;
 }
 public AlertController(IAlertLogic alertLogic)
 {
     _alertLogic = alertLogic;
 }