public IActionResult Index() { TempData["active"] = "sosyalmedya"; var user = _appUserService.GetByUserName(User.Identity.Name); return(View(_mapper.Map <List <SocialMediaIconListDto> >(_socialMediaIconService.GetAll()))); }
public IViewComponentResult Invoke() { return(View(_mapper.Map <List <SocialMediaIconListDto> >(_socialMediaIconService.GetAll()))); }