public async Task <IHttpActionResult> SortSearchAsync(string sortOrder, string searchStr)
        {
            var result = await _logService?.SortSearchAsync(sortOrder, searchStr);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }