Exemplo n.º 1
0
        public ActionResult <IEnumerable <Keep> > GetNotPrivateKeeps()
        {
            string userId = HttpContext.User.FindFirstValue("Id");

            try
            {
                return(Ok(_repo.GetNotPrivateKeeps()));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }