public DictionaryController(IGenericCacheRepository <Dictionary> repository, IWorkBenchContext ctx)
 {
     _ctx = ctx ?? new WorkBenchContext();
     if (repository == null)
     {
         _repository = new DictionaryRepository((DbContext)_ctx);
     }
     _repository = repository;
 }
 public DictionaryController()
 {
     _ctx        = new WorkBenchContext();
     _repository = new DictionaryRepository((DbContext)_ctx);
 }