//CAPITAL KEEP NOT keep !! JEEZ MAN COME ON!!
 public ActionResult <IEnumerable <Keep> > GetPublicKeeps()
 {
     try
     {
         return(Ok(_repository.GetPublicKeeps()));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }
예제 #2
0
 public IEnumerable<Keep> GetPublicKeeps()
 {
     System.Console.WriteLine("In controller get public keeps");
       return _repo.GetPublicKeeps();
 }