public IActionResult GetByKeyWord(string KeyWord) { try { return(Ok(_service.GetByKeyWord(KeyWord))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public IActionResult GetByKeyWord(string keyword) { return(Ok(_service.GetByKeyWord(keyword))); }