public HomeController(MarkdownLoader markdownLoader, ITzdbRepository repository) { markdownBundle = markdownLoader.TryGetBundle("root"); if (markdownBundle == null) { throw new ArgumentException("Couldn't get root bundle", nameof(markdownLoader)); } this.repository = repository; }
public TzValidateController(ITzdbRepository repository) => this.repository = repository;
public TzdbController(ITzdbRepository tzdbRepository) { this.tzdbRepository = tzdbRepository; }