Esempio n. 1
0
        /// <inheritdoc/>
        public async Task UpdateNavigation(NavigationInput input)
        {
            var navigation = await _navigationRepository.GetAsync(input.Id);

            input.MapTo(navigation);
            await navigationManager.UpdateNavigationAsync(navigation);
        }
Esempio n. 2
0
 /// <inheritdoc/>
 public async Task CreateNavigation(NavigationInput input)
 {
     var navigation = input.MapTo <Navigation>();
     await navigationManager.CreateNavigationAsync(navigation);
 }