public TimeTrackerRepository(DevHubContext context, QueryMethod query, GuidMethod guid, IMapper mapper, MethodLibrary method) { _context = context; _query = query; _guid = guid; _mapper = mapper; _method = method; }
public AccountRepository(MethodLibrary method, SignInManager <ApplicationUser> manager, DevHubContext context, RoleManager <IdentityRole <string> > roleManager, IdentityContext identity, IMapper mapper) { _method = method; _manager = manager; _context = context; _roleManager = roleManager; _identity = identity; _mapper = mapper; }
public BookLogRepository(DevHubContext context, IMapper mapper, MethodLibrary method, GuidMethod guid, QueryMethod query, EmailMethod email) { _context = context; _mapper = mapper; _method = method; _guid = guid; _query = query; _email = email; }
public PhotosRepository(DevHubContext context, IOptions <CloudinarySettings> cloudinaryConfig, IMapper mapper, IOptions <AppSettingsModel> options) { this._context = context; this._cloudinaryConfig = cloudinaryConfig; this._options = options; this._mapper = mapper; Account acc = new Account(_cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret); this._cloudinary = new Cloudinary(acc); }
protected override void Seed(DevHubContext context) { // This method will be called after migrating to the latest version. // You can use the DbSet<T>.AddOrUpdate() helper extension method // to avoid creating duplicate seed data. E.g. // // context.People.AddOrUpdate( // p => p.FullName, // new Person { FullName = "Andrew Peters" }, // new Person { FullName = "Brice Lambson" }, // new Person { FullName = "Rowan Miller" } // ); // CreateDataDefaultForCaterogies(context.Categories); CreateDataDefaultForCourses(context.Courses); CreateDataDefaultForVideos(context.Videos); CreateDataDefaultForComments(context.Comments); }
public VideoRepository(DevHubContext context) : base(context) { }
public EmailRecipientRepository(DevHubContext context, IMapper mapper) { this._context = context; this._mapper = mapper; }
public CourseRepository(DevHubContext context) { this.context = context; }
public TransactionRepository(DevHubContext context, IOptions <AppSettingsModel> options) { this._context = context; this._options = options; }
public GenericRepository(DevHubContext context) { this.context = context; dbset = context.Set <T>(); }
public BookLogRepository(IOptions <AppSettingsModel> options, DevHubContext context) { this._options = options; this._context = context; }
public ProductRepository(IOptions <AppSettingsModel> options, IMapper mapper, DevHubContext context) { this._options = options; this._mapper = mapper; this._context = context; }
public QueryMethod(DevHubContext context) { _context = context; }
public GuidMethod(DevHubContext context) { _context = context; }
public CategoryRepository(DevHubContext context) { this.context = context; }
public CommentRepository(DevHubContext context) : base(context) { }
public AmenitiesRepository(IOptions <AppSettingsModel> options, DevHubContext context, IMapper mapper) { this._options = options; this._context = context; this._mapper = mapper; }
public ClientRepository(DevHubContext context, Validators validate, QueryMethod query) { _context = context; _validate = validate; _query = query; }
public AuthRepository(DevHubContext context, IMapper mapper) { this._context = context; this._mapper = mapper; }