Ejemplo n.º 1
0
        public void ShowExcerciseSingle(IExcercise excercise)
        {
            ViewParameter par = new ViewParameter(ViewParameter.Action.ExcerciseShow, this, application);

            par.AddParameter(excercise);
            par.AddParameter(application.GetCategories());
            NavigateTo(Views.ExcerciseSingle, par);
        }
Ejemplo n.º 2
0
        public void ShowTrainingSingle(ITraining training)
        {
            ViewParameter par = new ViewParameter(ViewParameter.Action.TrainingShow, this, application);

            par.AddParameter(training);
            par.AddParameter(application.GetExcercises());
            NavigateTo(Views.TrainingSingle, par);
        }
Ejemplo n.º 3
0
        public void ShowTrainingPage(ICollection trainingCollection)
        {
            ViewParameter par = new ViewParameter(ViewParameter.Action.TrainingShow, this, application);

            par.AddParameter(trainingCollection);
            NavigateTo(Views.Training, par);
        }
Ejemplo n.º 4
0
        public void ShowExcercisePage(ICollection exerciseCollection)
        {
            ViewParameter par = new ViewParameter(ViewParameter.Action.ExcerciseShow, this, application);

            par.AddParameter(exerciseCollection);
            NavigateTo(Views.Excercise, par);
        }
Ejemplo n.º 5
0
        public void ShowCategoryPage(ICollection categoryCollection)
        {
            ViewParameter par = new ViewParameter(ViewParameter.Action.CategoryShow, this, application);

            par.AddParameter(categoryCollection);
            NavigateTo(Views.Category, par);
        }
Ejemplo n.º 6
0
        public void ShowCategorySingle(ICategory category)
        {
            ViewParameter par = new ViewParameter(ViewParameter.Action.CategoryShow, this, application);

            par.AddParameter(category);
            NavigateTo(Views.CategorySingle, par);
        }
Ejemplo n.º 7
0
        public void ShowCreateTraining()
        {
            ViewParameter parameter = new ViewParameter(ViewParameter.Action.TrainingCreate, this, application);

            parameter.AddParameter(application.GetExcercises());
            NavigateTo(Views.TrainingSingle, parameter);
        }
Ejemplo n.º 8
0
        public void ShowCreateExcercise()
        {
            ViewParameter parameter = new ViewParameter(ViewParameter.Action.ExcerciseCreate, this, application);

            parameter.AddParameter(application.GetCategories());
            NavigateTo(Views.ExcerciseSingle, parameter);
        }
Ejemplo n.º 9
0
        public void ShowCreateCategory()
        {
            ViewParameter parameter = new ViewParameter(ViewParameter.Action.CategoryCreate, this, application);

            parameter.AddParameter(application);
            NavigateTo(Views.CategorySingle, parameter);
        }