public RefreshTokenRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
 public GenericRepository(ProgrammingCourseDbContext context)
 {
     _context = context;
 }
 public CategoryTypeRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
Ejemplo n.º 4
0
 public WatchListRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
Ejemplo n.º 5
0
 public LectureRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
 public StudentCourseRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
 public FeedbackRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
        //private readonly UserManager<User> userManager;
        //private readonly RoleManager<IdentityRole> roleManager;

        //public UserRepository(UserManager<User> userMgr, RoleManager<IdentityRole> roleMgr)
        //{
        //    this.userManager = userMgr;
        //    this.roleManager = roleMgr;
        //}

        //public async Task<User> GetById(string id)
        //{
        //    return await userManager.Users.Where<User>(c => c.Id == id).FirstOrDefaultAsync();
        //}

        public UserRepository(ProgrammingCourseDbContext context) : base(context)
        {
        }
 public CourseProcessRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }
 public StatusRepository(ProgrammingCourseDbContext context) : base(context)
 {
 }