Beispiel #1
0
        public Task <ProfileModel> UpdateProfile(ProfileUpdateModel model)
        {
            TaskCompletionSource <ProfileModel> result = new TaskCompletionSource <ProfileModel>();

            result.SetResult(new ProfileModel()
            {
                id        = 1,
                name      = "Artem Ovechko",
                nickName  = "AJ",
                imageUrl  = "https://aj-heroportal-files.s3.amazonaws.com/Dwarf.png",
                race      = 1,
                rank      = 1,
                goldCoins = 999,
                email     = "*****@*****.**"
            });

            return(result.Task);
        }
Beispiel #2
0
 public Task <ProfileModel> UpdateProfile(ProfileUpdateModel model)
 {
     throw new NotImplementedException();
 }