public async Task Put(string id, [FromBody] RecyclingCenter value) { await _serviceClient.Update(value, id); }
public async Task Put(int id, [FromBody] RecyclingCenter recyclingCenter) { await _repository.UpdateRecyclingCenter(recyclingCenter); }
public async Task Post([FromBody] RecyclingCenter value) { await _serviceClient.Create(value); }
public async Task Post([FromBody] RecyclingCenter recyclingCenter) { await _repository.CreateRecyclingCenter(recyclingCenter); }