//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)); } }
public IEnumerable<Keep> GetPublicKeeps() { System.Console.WriteLine("In controller get public keeps"); return _repo.GetPublicKeeps(); }