public ActionResult <List <Tip> > GetByTitle(string title) { var tip = _tipRepository.GetByTitle(title); if (tip != null) { return(Ok(tip)); } return(Ok("Not Found")); }
public ActionResult <List <Tip> > GetByTitle(string title) { var tip = _tipRepository.GetByTitle(title); if (tip != null) { return(Ok(tip)); } return(Ok("Not Found")); }