コード例 #1
0
        public ActionResult Index()
        {
            S_Federation    federation;
            FederationModel federationModel = new FederationModel();

            if (FederationManager.FederationExistById(1))
            {
                federation                  = FederationManager.GetFederationById(1);
                federationModel.Id          = federation.id;
                federationModel.Information = federation.information;
                federationModel.UrlLogo     = federation.logo;
            }

            return(View(federationModel));
        }