public UserController( UserManager <ApplicationUser> userManager, IConfiguration config, KhaoSatDbContext context ) { _userManager = userManager; _config = config; _context = context; }
public UnitOfWork(IDbContextFactory <KhaoSatDbContext> dbContextFactory, Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor) { _dbContext = dbContextFactory.GetContext(); UserAnswersRepository = new UserAnswersRepository(_dbContext); UserRepository = new UserRepository(_dbContext); UserSurveysRepository = new UserSurveysRepository(_dbContext); SurveysRepository = new SurveyRepository(_dbContext); AnswerRepository = new AnswerRepository(_dbContext); QuestionsRepository = new QuestionsRepository(_dbContext); }
public BaoCaoThongKeController(KhaoSatDbContext context) { _context = context; }
public CanBoBenhViensController(KhaoSatDbContext context) { _context = context; }
public BenhNhansController(KhaoSatDbContext context) { _context = context; }
public MauKhaoSatsController(KhaoSatDbContext context) { _context = context; }
public ChiTietPhieuDanhGiasController(KhaoSatDbContext context) { _context = context; }
public CauHoiKhaoSatsController(KhaoSatDbContext context) { _context = context; }
public PhanQuyensController(KhaoSatDbContext context) { _context = context; }
public MucDoHaiLongsController(KhaoSatDbContext context) { _context = context; }