示例#1
0
 public ShortenerController(ShortenerContext shortenerContext, IKeyGenerator keyGenerator)
 {
     _shortenerContext = shortenerContext;
     _keyGenerator     = keyGenerator;
 }
示例#2
0
 public RedirectEfRepository(ShortenerContext shortenerContext)
 {
     _shortenerContext = shortenerContext;
 }
示例#3
0
 public BaseRepository(ShortenerContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
 public ShortcutEfRepository(ShortenerContext shortenerContext)
 {
     _shortenerContext = shortenerContext;
 }
示例#5
0
 public DataSeeder(ShortenerContext shortenerContext)
 {
     _shortenerContext = shortenerContext;
 }
示例#6
0
 public Shortener(ShortenerContext context)
 {
     _context = context;
 }
示例#7
0
 public ShortenerController(ShortenerContext context)
 {
     _context   = context;
     _shortener = new Shortener(context);
 }
示例#8
0
 public RedirectController(ShortenerContext context)
 {
     _context = context;
 }
示例#9
0
 public EntriesController(ShortenerContext context)
 {
     _context = context;
 }