Example #1
0
        public async Task Update(ChangedGame account)
        {
            var entity = await Store.Retrieve(account.Id);

            Mapper.Map(account, entity);

            await Store.Update(entity);
        }
Example #2
0
        public async Task Update([FromBody] ChangedGame model)
        {
            await Validate(new Entity { Id = model.Id });

            await GameService.Update(model);
        }