public async Task <IActionResult> Delete([FromQuery] string clientId) { if (Int32.TryParse(clientId, out var id)) { await _repository.DeleteClient(id); } return(Success(true)); }
public async Task <IActionResult> Delete([FromQuery] string clientId) { if (Int32.TryParse(clientId, out var id)) { await _repository.DeleteClient(id); } return(Success(true)); }