public ActionResult <IEnumerable <Keep> > Get() { IEnumerable <Keep> results = _kr.GetALL(); if (results == null) { return(BadRequest()); } return(Ok(results)); }
public ActionResult <IEnumerable <Keep> > Get() { IEnumerable <Keep> results = _kr.GetALL(); if (results == null) { return(BadRequest("Unable to GETALL: Results are not there.")); } return(Ok(results)); }