Beispiel #1
0
        public async Task <bool> UpdateGameModelAsync(Stream imageData, string message)
        {
            var updatedModel = GetUpdatedGameModel();
//
//			if (imageData != null) {
//				long imageId = await repository.UploadLoserPhotoAsync (imageData, message, this.model.GameGUID, this.otherUser);
//				updatedModel.ImageIds.Add (imageId);
//			}
//
            bool result = await repository.UpdateGameModelAsync(updatedModel, this.otherUser, imageData);

            this.model = updatedModel;
            return(result);
        }