Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="cyclepathDbContext">Database</param>
 public EnlistmentRepository(CyclepathDbContext cyclepathDbContext)
 {
     this.CyclepathDbContext = cyclepathDbContext;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="cyclepathDbContext">Database</param>
 public BlockListRepository(CyclepathDbContext cyclepathDbContext)
 {
     this.CyclepathDbContext = cyclepathDbContext;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context"></param>
 public BikesController(CyclepathDbContext context)
 {
     bikesRepository = new BikeRepository(context);
 }
Exemplo n.º 4
0
 public RentPointRepository(CyclepathDbContext cyclepathDb)
 {
     CyclepathDb = cyclepathDb;
 }
Exemplo n.º 5
0
 /// <summary>
 /// data base
 /// </summary>
 /// <param name="context"></param>
 public RoutesController(CyclepathDbContext context)
 {
     _context = new RoutesRepository(context);
 }
Exemplo n.º 6
0
 public EnlistmentController(CyclepathDbContext context)
 {
     this._context = new EnlistmentRepository(context);
 }
Exemplo n.º 7
0
 public AuthController(CyclepathDbContext context, IConfiguration configuration)
 {
     _context         = new AccountRepository(context, configuration);
     _themesContext   = new ThemesRepository(context, configuration);
     _languageContext = new LanguageRepository(context, configuration);
 }
Exemplo n.º 8
0
 public BlocksController(CyclepathDbContext context)
 {
     this._context = new BlockListRepository(context);
 }
Exemplo n.º 9
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="cyclepathDbContext">Database</param>
 public FriendsListRepository(CyclepathDbContext cyclepathDbContext)
 {
     this.CyclepathDbContext = cyclepathDbContext;
 }