public ActionResult <IEnumerable <Keep> > Get() { IEnumerable <Keep> keepList = _kr.GetAllKeeps(); if (keepList != null) { return(Ok(keepList)); } return(BadRequest("Could not collect list of keeps")); }
public IEnumerable <Keep> Get() { return(_db.GetAllKeeps()); }
public IEnumerable<Keep> GetAllKeeps() { return _repo.GetAllKeeps (); }
public IEnumerable <Keep> GetAllKeeps() { return(_keepRepo.GetAllKeeps()); }