public StudentController() { studentRepo = new StudentBizRepo(); context = new OLDbContext(); }
public StudentController() { studentRepo = new StudentBizRepository(); context = new RhealAssignmentDBContext(); }
public CourseController() { corRepository = new CourseBizRepository(); traRepository = new TrainerBizRepository(); }
public CourseController() { sturepo = new StudentBizRepo(); corRepo = new CourseBizRepo(); context = new OLDbContext(); }
public TrainerController() { trainRepo = new TrainerBizRepo(); context = new OLDbContext(); }
public CategoryBinderAPIController(IBizRepository <Categories, int> repository) { catRepository = repository; }
public CourseController() { CourseRepository = new CourseRepository(); }
public HomeController() { courseRepo = new CourseBizRepository(); context = new RhealAssignmentDBContext(); appdbContext = new ApplicationDbContext(); }
public TrainerController() { trainerRepo = new TrainerBizRepository(); context = new RhealAssignmentDBContext(); }
public StudentController() { StudentRepository = new StudentRepository(); }
public CategoryAPIController() { catRepository = new CategoryBizRepository(); }
public CourseController() { courseRepo = new CourseBizRepository(); context = new RhealAssignmentDBContext(); }
public TrainerController() { traRepository = new TrainerBizRepository(); }
public SPAController(IBizRepository <Category, int> bizRepository) { this.bizRepository = bizRepository; }
public SearchController() { catRepository = new StudentBizRepository(); corRepository = new CourseBizRepository(); ctx = new RHealDbContext(); }
public SearchController() { context = new ApplicationDbContext(); StudentRepository = new StudentRepository(); CourseRepository = new CourseRepository(); }
//public ProductController() //{ // prdRespository = new ProductBizRepository(); // catRepository = new CategoryBizRepository(); //} /// <summary> /// Injecting the Dependency using Repository Intercace /// </summary> public ProductController(IBizRepository <Product, int> prdRespository, IBizRepository <Category, int> catRepository) { this.prdRespository = prdRespository; this.catRepository = catRepository; }
public TrainerController() { TrainerRepository = new TrainerRepository(); }
public StudentInfoController() { context = new RHealDbContext(); catRepository = new StudentBizRepository(); croRepository = new CourseBizRepository(); }
/// <summary> /// Injected the Repository in Constructor /// </summary> /// <param name="repository"></param> public ProductController(IBizRepository <Products, int> repository, IBizRepository <Categories, int> catRepo) { prdRepository = repository; catRepository = catRepo; }
//public CategoryController() //{ // catRepository = new CategoryBizRepository(); //} /// <summary> /// Inject the depednency by seraching /// the Object in the Dependency Container using Interface /// </summary> public CategoryController(IBizRepository <Category, int> catRepo) { catRepository = catRepo; }
public StudentCourseController() { scRepo = new StudentCourseRepo(); context = new OLDbContext(); }
public ModuleController() { corRepo = new CourseBizRepo(); modRepo = new ModuleRepo(); context = new OLDbContext(); }
public ProductController() { productRepo = new ProductBizRepository(); }
public AreaOfInterestController() { areaOfInterestRepo = new AreaOfInterestBizRepository(); }