Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="data"></param>
 /// <param name="fictionalUserId"></param>
 /// <returns></returns>
 public async Task <FictionalUser?> UpdateFictionalUserAsync(FictionalUser data, int fictionalUserId = -1)
 => await _api.PatchAsync <FictionalUser>($"3.0/fictional_users/{fictionalUserId.ToString()}", data);
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public async Task <FictionalUser?> InsertFictionalUserAsync(FictionalUser data)
 => await _api.PostAsync <FictionalUser>("3.0/fictional_users/", data);