Beispiel #1
0
        public ViewResult Manage()
        {
            var firmaPage = FirmaPage.GetFirmaPageByPageType(FirmaPageType.ManageProjectCustomAttributeTypesList);
            var viewData  = new ManageViewData(CurrentPerson, firmaPage);

            return(RazorView <Manage, ManageViewData>(viewData));
        }
Beispiel #2
0
        public ViewResult Manage()
        {
            var firmaPage = FirmaPageTypeEnum.ManageProjectCustomAttributeGroupsList.GetFirmaPage();
            var viewData  = new ManageViewData(CurrentFirmaSession, firmaPage);

            return(RazorView <Manage, ManageViewData>(viewData));
        }
        public ViewResult Manage()
        {
            var goals    = HttpRequestStorage.DatabaseEntities.AssessmentGoals.ToList();
            var viewData = new ManageViewData(CurrentFirmaSession, goals);

            return(RazorView <Manage, ManageViewData>(viewData));
        }
        public ViewResult Manage()
        {
            var neptunePage = NeptunePage.GetNeptunePageByPageType(NeptunePageType.ManageObservationTypesList);
            var viewData    = new ManageViewData(CurrentPerson, neptunePage);

            return(RazorView <Manage, ManageViewData>(viewData));
        }
        public ViewResult Manage()
        {
            var firmaPage = FirmaPageTypeEnum.ManageProjectFactSheet.GetFirmaPage();
            var factSheetCustomTextFirmaPage = FirmaPageTypeEnum.FactSheetCustomText.GetFirmaPage();
            var factSheetCustomTextViewData  = new ViewPageContentViewData(factSheetCustomTextFirmaPage, false);
            var editCustomFactSheetTextUrl   = SitkaRoute <FirmaPageController> .BuildUrlFromExpression(t => t.EditInDialog(factSheetCustomTextFirmaPage));

            var deleteFactSheetLogoFileResourceUrl = new SitkaRoute <ProjectFactSheetController>(c => c.DeleteTenantFactSheetLogoFileResource()).BuildUrlFromExpression();
            var editFactSheetLogoUrl = new SitkaRoute <ProjectFactSheetController>(c => c.EditFactSheetLogo()).BuildUrlFromExpression();
            var editBasicsUrl        = new SitkaRoute <ProjectFactSheetController>(c => c.EditBasics()).BuildUrlFromExpression();
            var tenantAttribute      = MultiTenantHelpers.GetTenantAttributeFromCache();
            var viewData             = new ManageViewData(CurrentFirmaSession, firmaPage, factSheetCustomTextViewData, editCustomFactSheetTextUrl, deleteFactSheetLogoFileResourceUrl, editFactSheetLogoUrl, editBasicsUrl, tenantAttribute);

            return(RazorView <Manage, ManageViewData>(viewData));
        }