public static Window GetReadWorkQuestionnarie(Entity.WorkQuestionnaire workQuestionnaire, Entity.User expert, Context.IContext context = null) { return(GetView <ViewModel.WorkQuestionnaireViewModel>(ReadOnlyFlag, true, new object[] { workQuestionnaire, expert, context ?? new Context.Context() })); }
public static Window GetEditWorkQuestionnarie(Entity.WorkQuestionnaire workQuestionnaire, Context.IContext context = null) { return(GetView <ViewModel.WorkQuestionnaireViewModel>(EditFlag, true, new object[] { workQuestionnaire, context ?? new Context.Context() })); }