Exemplo n.º 1
0
 public ApiController(IMemoryCache cache)
 {
     _publicationManager  = new PublicationManager(Settings.Current.ConnectionString, cache);
     _userManager         = new UserManager(Settings.Current.ConnectionString);
     _vacancyManager      = new VacancyManager(Settings.Current.ConnectionString, cache);
     _crossPostManager    = new CrossPostManager(Settings.Current.ConnectionString);
     _localizationManager = new LocalizationManager(Settings.Current.ConnectionString, cache);
 }
Exemplo n.º 2
0
 public ContentController(IMemoryCache cache)
 {
     _crossPostManager = new CrossPostManager(Settings.Current.ConnectionString);
 }