public OptimizeRouteCommandHandler(AllReadyContext context, IOptimizeRouteService optimizeRouteService) { _context = context; _optimizeRouteService = optimizeRouteService; }
public OptimizeRouteCommandHandler(AllReadyContext context, IOptimizeRouteService optimizeRouteService, IMemoryCache memoryCache) { _context = context; _optimizeRouteService = optimizeRouteService; _cache = memoryCache; }