internal FluentEngineSubContext(ApiItemModel <TItem> itemModel) { Identifiers = new FluentIdentifierProvider <TItem>(itemModel.Identifiers); Fields = new FluentFieldProvider <TItem>(itemModel.Fields); AuthorizationChecker = new AllowAllAuthorizationChecker <TItem>(); // TODO }
public CodedArtistEntityContext(IRestUser user) { Transaction = new VoidTransaction(); Repository = new ArtistMemoryRepository(); AuthorizationChecker = new AllowAllAuthorizationChecker <Artist>(); }