Пример #1
0
 public async Task InsertUserAsync(User user)
 {
     await _persistanceService.InsertAsync(user);
 }
Пример #2
0
        public async Task InsertItemAsync <TItem>(TItem item) where TItem : BaseItem
        {
            var id = await _persistenceService.InsertAsync <TItem>(item);

            item.Id = id;
        }