public StudentListViewModel() { _needToLoadItems = true; _studentHelper = ServiceLocator.Current.GetInstance <IStudentHelper>(); SetupCommands(); LoadStudents(); Messenger.Default.Register <NotificationMessage>(this, NotificationMessages.UpdateStudentList, HandleUpdateStudentList); }
public StudentViewModel() { _studentHelper = ServiceLocator.Current.GetInstance <IStudentHelper>(); SetupCommands(); }
public PickupHub(IStudentHelper studentDetailsHelper, IDbHelper dbHelper, ILogger <PickupHub> logger) { _studentDetailsHelper = studentDetailsHelper; _dbHelper = dbHelper; _logger = logger; }
public StudentController() { LoginStdAdmissionNo = RequestContext.Principal.Identity.Name; StudentHelper = new StudentHelper(ConnectionStringNames.DBEntityName); }
public RegistrationController(IStudentHelper studentHelper) { _studentHelper = studentHelper; }