Example #1
0
        private void InitilizeSubject(InstanceTypes instanceType)
        {
            Subject = WebContext.Current.SubjectDicByType[instanceType.ToString()];
            ISubjectService service = ServiceLocator.Current.GetInstance <ISubjectService>();

            service.AttachProperties(Subject);
        }
 public BaseViewModel(InstanceTypes instanceType)
 {
     Subject = WebContext.Current.SubjectList[instanceType.ToString()];
 }