public TestResponseModel PatchWithOtherReturnType([FromBody] TestModel data)
 {
     return(new TestResponseModel {
         Something = data.Name, Id = data.Number
     });
 }
 public void Delete()
 {
     _previousData = new TestModel {
         Name = "Deleted", Number = 123
     };
 }
 public void PutWithoutReturnData([FromBody] TestModel data)
 {
     _previousData = data;
 }
 public TestModel Patch([FromBody] TestModel data)
 {
     return(data);
 }
 public Task PutWithEmptyResultAsync(TestModel data)
 {
     return base.PutWithEmptyResultAsync($"test/6", data);
 }
 public TestModel Post([FromBody] TestModel data)
 {
     return(data);
 }
 public Task<TestModel> PutTestDataAsync(TestModel data)
 {
     return base.PutAsync<TestModel>($"test/5", data);
 }
 public Task<TestResponseModel> PostTestDataWithOtherReturnTypeAsync(TestModel data)
 {
     return base.PostAsync<TestModel, TestResponseModel>($"test/4", data);
 }
 public Task<TestModel> PostTestDataAsync(TestModel data)
 {
     return base.PostAsync($"test/3", data);
 }
 public void Delete()
 {
     _previousData = new TestModel { Name = "Deleted", Number = 123 };
 }
 public void PutWithoutReturnData([FromBody]TestModel data)
 {
     _previousData = data;
 }