public async Task <IActionResult> Get(string title)
 {
     if (title.Length > 4)
     {
         try
         {
             return(Ok(_repository.SearchMoviesByTitle(title)));
         }
         catch (Exception e)
         {
             //_logger.LogError($"Failed to get all trips: {e}");
             return(BadRequest($"Error occured: {e}"));
         }
     }
     else
     {
         return(BadRequest("Minimum length of search query is 4 characters"));
     }
 }