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

            return(await _linksService.GetAll(clientId));
        }