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); }
public async Task <SiteIdentityDto> GetIdentity() { var identity = await _siteIdentityService.Get(1); return(identity.Data); }
public async Task <IActionResult> Index() { var identity = await _siteIdentityService.Get(1); return(View(identity.Data)); }