示例#1
0
        public IEnumerable <Keep> Get()
        {
            var user = HttpContext.User;
            var Id   = user.Identity.Name;

            return(_db.GetbyAuthorId(Id));
        }
示例#2
0
 public IEnumerable <Keep> GetByAuthorId(string id)
 {
     return(_db.GetbyAuthorId(id));
 }