示例#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);
 }
 public ContentController(IMemoryCache cache)
 {
     _crossPostManager = new CrossPostManager(Settings.Current.ConnectionString);
 }