Пример #1
0
 public StudentController(IStudentSvc studSvc, IDropdownRepo dropDwnRepo, IUserTransactionSvc userTrans, IConfigSvc configSvc, ISessionSvc sessionSvc)
 {
     _studSvc     = studSvc;
     _dropDwnRepo = dropDwnRepo;
     _uiddlRepo   = new Helpers.UIDropDownRepo(_dropDwnRepo);
     //_logSvc = logSvc;
     _userTrans  = userTrans;
     _configSvc  = configSvc;
     _sessionSvc = sessionSvc;
 }
 public TransactionController(IDropdownRepo ddlRepo, IUserSvc userSvc, ICommonConfigSvc commonConfig, ITransactionLogSvc transactionLog, ISessionSvc sessionSvc, IStudentSvc studentSvc, ITransactionMasterSvc trMaster, ITransactionRuleSvc trRule, IUserTransactionSvc uTranSvc)
 {
     _ddlRepo        = ddlRepo;
     _userSvc        = userSvc;
     _commonConfig   = commonConfig;
     _transactionLog = transactionLog;
     _sessionSvc     = sessionSvc;
     _studentSvc     = studentSvc;
     _trMaster       = trMaster;
     _trRule         = trRule;
     _uTranSvc       = uTranSvc;
 }
Пример #3
0
 public StudentsController(ILogger logger, IStudentSvc studentSvc)
     : base(logger)
 {
     _studentSvc = studentSvc;
 }