public StudentPromotionsServ(
     IStudentPromotionsRepo <StudentPromotions> StudentPromotionsRepo,
     IStudentsRepo <Students> studentsRepo,
     IClassesRepo <Classes> classesRepo
     )
 {
     _StudentPromotionsRepo = StudentPromotionsRepo;
     _classesRepo           = classesRepo;
     _studentsRepo          = studentsRepo;
 }
 public StudentDiscountsServ(IStudentDiscountsRepo <StudentDiscounts> StudentDiscountsRepo,
                             IInstitutionsRepo <Institutions> InstitutionsRepo,
                             IClassesRepo <Classes> classesRepo,
                             IFeeTypesRepo <FeeTypes> FeeTypesRepo, IStudentsRepo <Students> studentsRepo)
 {
     _StudentDiscountsRepo = StudentDiscountsRepo;
     _FeeTypesRepo         = FeeTypesRepo;
     _studentsRepo         = studentsRepo;
     _classesRepo          = classesRepo;
     _InstitutionsRepo     = InstitutionsRepo;
 }
        //private object ViewBag;
        #endregion "Variables"

        #region "Constructor"
        public StudentsServ(IStudentsRepo <Students> studentsRepo,
                            IInstitutionsRepo <Institutions> InstitutionsRepo,
                            IStudentPromotionsRepo <StudentPromotions> StudentPromotionsRepo,
                            ICommonServ commonServ,
                            IClassesRepo <Classes> classesRepo, IGendersRepo <Genders> GendersRepo)
        {
            _studentsRepo          = studentsRepo;
            _classesRepo           = classesRepo;
            _StudentPromotionsRepo = StudentPromotionsRepo;
            _InstitutionsRepo      = InstitutionsRepo;
            _GendersRepo           = GendersRepo;
            _commonServ            = commonServ;
        }
 public FeeStructuresServ(
     IStudentsRepo <Students> studentsRepo,
     IFeeStructuresRepo <FeeStructures> FeeStructuresRepo,
     IInstitutionsRepo <Institutions> InstitutionsRepo,
     IStudentDiscountsRepo <StudentDiscounts> StudentDiscountsRepo,
     IStudentPaymentsRepo <StudentPayments> StudentPaymentsRepo,
     IStudentPromotionsRepo <StudentPromotions> StudentPromotionsRepo,
     IFeeTermDescriptionsRepo <FeeTermDescriptions> FeeTermDescriptions,
     IFeeTypesRepo <FeeTypes> FeeTypesRepo, IClassesRepo <Classes> classesRepo)
 {
     _studentsRepo          = studentsRepo;
     _FeeStructuresRepo     = FeeStructuresRepo;
     _StudentDiscountsRepo  = StudentDiscountsRepo;
     _StudentPaymentsRepo   = StudentPaymentsRepo;
     _StudentPromotionsRepo = StudentPromotionsRepo;
     _FeeTermDescriptions   = FeeTermDescriptions;
     _FeeTypesRepo          = FeeTypesRepo;
     _classesRepo           = classesRepo;
     _InstitutionsRepo      = InstitutionsRepo;
 }
示例#5
0
 public StudentsController(ILogger <StudentsController> logger, IStudentsRepo studentsRepo)
 {
     _logger       = logger;
     _studentsRepo = studentsRepo;
 }
示例#6
0
 public StudentsController(IStudentsRepo repo, IMapper mapper, LinkGenerator linkGenerator)
 {
     _repo          = repo;
     _mapper        = mapper;
     _linkGenerator = linkGenerator;
 }
示例#7
0
 public ApiController(IStudentsRepo studentsRepo)
 {
     this.studentsRepo = studentsRepo;
 }
示例#8
0
 public StudentsController(IStudentsRepo repo, IConfiguration config)
 {
     this._repo   = repo;
     this._config = config;
 }