public async Task <ActionResult> FetchAgents(string category, string city) { try { var agents = ConvertSourceResultsToAgents ( await FetchResults($"/?type={category}&zo=/"), ListingType.All ); _context.AddRange(agents); _context.SaveChanges(); } catch (Exception e) { return(ExceptionResult(e)); } return(Ok()); }