public IndexService(PersonRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } m_repository = repository; }
public FeedHandler(PersonRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } m_repository = repository; SetAllowedHttpMethods(HttpMethod.Get, HttpMethod.Head); }