public IActionResult GetByTitle(string Title) { try { return(Ok(_service.GetByTitle(Title))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public IActionResult GetByTitle(string title) { return(Ok(_service.GetByTitle(title))); }
public IActionResult GetByTitle(string Title) { try { return(Ok(_service.GetByTitle(Title))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public IActionResult GetByTitle(string title) { return(Ok(_service.GetByTitle(title))); }