public HomeController( IProxy <EditorialModel> editorialProxy, IOptionsSnapshot <EditorialServices> editorialSnapshot) { this.editorialProxy = editorialProxy; this.editorialServices = editorialSnapshot.Value; }
public BookController( IProxy <BookModel> bookProxy, IProxy <EditorialModel> editorialProxy, IOptionsSnapshot <BookServices> bookSnapshot, IOptionsSnapshot <EditorialServices> editorialSnapshot) { this.bookProxy = bookProxy; this.editorialProxy = editorialProxy; this.bookServices = bookSnapshot.Value; this.editorialServices = editorialSnapshot.Value; }