public IndexModel(ActQueries actQueries, ActCommands actCommands, ContentQueries contentQueries, ContentCommands contentCommands) { this.actQueries = actQueries; this.actCommands = actCommands; this.contentQueries = contentQueries; this.contentCommands = contentCommands; }
public ActTests() { var repository = new PromotionContext(new DbContextOptionsBuilder <PromotionContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString()) .Options, null); actQueries = new ActQueries(repository); actCommands = new ActCommands(repository); }
public RemoveModel(ActQueries actQueries, ActCommands actCommands) { this.actQueries = actQueries; this.actCommands = actCommands; }