public ActionResult <IEnumerable <Link> > GetLinks() { return(Json(_linksService.GetAll().Select(link => { link.LinkTags = new List <LinkTags>(); return link; }).ToList())); }
public async Task <IEnumerable <Link> > Get() { var clientId = GetClientId(); return(await _linksService.GetAll(clientId)); }