Beispiel #1
0
        public async Task Locate(Reference <Ship> ship)
        {
            using var dbContextScope = dbContextScopeFactory.Create();

            var s = await shipRepository.Fetch(ship);

            s.Locate();

            await shipRepository.Save(s);

            await dbContextScope.SaveChangesAsync();
        }