예제 #1
0
 public ActionResult <IEnumerable <Keep> > Get()
 {
     try
     {
         return(Ok(_repo.GetAllPublic()));
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }
예제 #2
0
 public IEnumerable <Keep> GetAllPublic()
 {
     return(keepDb.GetAllPublic());
 }