示例#1
0
 public FakeServer StartWithRealRepos()
 {
     UsedThingsRepos = RealThingsRepos;
     Init ();
     Start (BaseUri);
     return this;
 }
示例#2
0
 public ThingsController(IThingsRepository thingsRepository)
 {
     _thingsRepository = thingsRepository;
 }
示例#3
0
 public ListModel(IConfiguration config, IThingsRepository thingsRepository)
 {
     this.config           = config;
     this.thingsRepository = thingsRepository;
 }
示例#4
0
 public EditModel(IThingsRepository thingsRepo, IHtmlHelper htmlHelper)
 {
     this.thingsRepo = thingsRepo;
     this.htmlHelper = htmlHelper;
 }
 public DeleteModel(IThingsRepository thingsRepository)
 {
     this.thingsRepository = thingsRepository;
 }
示例#6
0
 public ThingsCountViewComponent(IThingsRepository thingsRepository)
 {
     this.thingsRepository = thingsRepository;
 }
示例#7
0
 public ThingsController(ApplicationDbContext context)
 {
     _thingsRepository = new ThingsRepository(context);
 }
示例#8
0
 public DetailModel(IThingsRepository thingsRepo)
 {
     this.thingsRepo = thingsRepo;
 }