Esempio n. 1
0
 public IEnumerable <Keep> Get([FromRoute] int id)
 {
     if (id == -1)
     {
         return(_repo.GetSomePublic("browsing"));
     }
     if (id == 0)
     {
         return(_repo.GetSomePublic("user"));
     }
     return(_repo.GetSomePublic(id));
 }