Пример #1
0
        public void SetStatus(DateTime carryoutDate, int depotId, int routeId, string status)
        {
            // Repoistory
            var e = _routeRepository.Get(routeId);

            if (e.Status != status)
            {
                e.Status = status;
            }

            // Set Cache
            var route = _routeCache.GetRoute(carryoutDate, depotId, routeId);

            route.Status = status;
        }