Пример #1
0
        public StudentListViewModel()
        {
            _needToLoadItems = true;

            _studentHelper = ServiceLocator.Current.GetInstance <IStudentHelper>();

            SetupCommands();
            LoadStudents();

            Messenger.Default.Register <NotificationMessage>(this, NotificationMessages.UpdateStudentList, HandleUpdateStudentList);
        }
Пример #2
0
        public StudentViewModel()
        {
            _studentHelper = ServiceLocator.Current.GetInstance <IStudentHelper>();

            SetupCommands();
        }
 public PickupHub(IStudentHelper studentDetailsHelper, IDbHelper dbHelper, ILogger <PickupHub> logger)
 {
     _studentDetailsHelper = studentDetailsHelper;
     _dbHelper             = dbHelper;
     _logger = logger;
 }
Пример #4
0
 public StudentController()
 {
     LoginStdAdmissionNo = RequestContext.Principal.Identity.Name;
     StudentHelper       = new StudentHelper(ConnectionStringNames.DBEntityName);
 }
Пример #5
0
 public RegistrationController(IStudentHelper studentHelper)
 {
     _studentHelper = studentHelper;
 }