示例#1
0
        public async Task <SiteIdentityDto> GetSiteIdentity(string add)
        {
            var identity = await _siteIdentityService.Get(1);

            identity.Data.SiteIdentity.Title = identity.Data.SiteIdentity.Title + " | " + add;
            return(identity.Data);
        }
示例#2
0
        public async Task <SiteIdentityDto> GetIdentity()
        {
            var identity = await _siteIdentityService.Get(1);

            return(identity.Data);
        }
示例#3
0
        public async Task <IActionResult> Index()
        {
            var identity = await _siteIdentityService.Get(1);

            return(View(identity.Data));
        }