Ejemplo n.º 1
0
        private async Task UpdateUserAndLocation(int?idLocation)
        {
            currentUser = await _userInfoManager.FindUser(User);

            location = await _locationService.GetLocationById(idLocation);

            _locationService.AssertOwnership(location, currentUser);
        }