protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (this._dbRepository != null)
                {
                    this._dbRepository.Dispose();
                    this._dbRepository = null;
                }
            }

            base.Dispose(disposing);
        }
 protected BaseDbRepositoryController(AppEntityDbRepository dbRepository)
 {
     this.DbRepository = dbRepository;
 }
 public MessagesController(IHubContext hubContext, AppEntityDbRepository dbRepository) : base(dbRepository)
 {
     this._hubContext = hubContext;
 }