Example #1
0
        public IEnumerable <Keep> Get()
        {
            string userId = HttpContext.User.Identity.Name;

            if (userId == null)
            {
                userId = "not-logged-in";
            }
            return(_repo.GetKeeps(userId));
        }
Example #2
0
 public IEnumerable <Keep> GetKeeps()
 {
     return(_repo.GetKeeps());
 }