예제 #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"));
        }
예제 #2
0
 public IEnumerable <Keep> Get()
 {
     return(_db.GetAllKeeps());
 }
예제 #3
0
 public IEnumerable<Keep> GetAllKeeps()
 {
     return _repo.GetAllKeeps ();
 }
예제 #4
0
 public IEnumerable <Keep> GetAllKeeps()
 {
     return(_keepRepo.GetAllKeeps());
 }