public HomeController(Factory.RepositoryFactory factory, ISiteSetting setting, IMemoryCache cache) { if (factory == null) { throw new ArgumentNullException("factory"); } if (setting == null) { throw new ArgumentNullException("setting"); } this.factory = factory; this.setting = setting; this.cache = cache; }
public HomeController(Factory.RepositoryFactory factory, ISiteSetting setting, IMemoryCache cache) { if(factory == null) { throw new ArgumentNullException("factory"); } if(setting == null) { throw new ArgumentNullException("setting"); } this.factory = factory; this.setting = setting; this.cache = cache; }