Exemple #1
0
        public ActionResult <IEnumerable <Keep> > Get()
        {
            IEnumerable <Keep> keepList = _kr.GetAllKeeps();

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