예제 #1
0
        /// <inheritdoc />
        public Task UpdateAsync(int key, CharacterEntryModel model)
        {
            GeneralGenericCrudRepositoryProvider <int, CharacterEntryModel> crudProvider = new GeneralGenericCrudRepositoryProvider <int, CharacterEntryModel>(Context.Characters, Context);

            return(crudProvider.UpdateAsync(key, model));
        }
예제 #2
0
        /// <inheritdoc />
        public Task UpdateAsync(int key, ZoneInstanceEntryModel model)
        {
            GeneralGenericCrudRepositoryProvider <int, ZoneInstanceEntryModel> crudProvider = new GeneralGenericCrudRepositoryProvider <int, ZoneInstanceEntryModel>(Context.ZoneEntries, Context);

            return(crudProvider.UpdateAsync(key, model));
        }