public void Delete(int id) { operationsService.DeleteOperation(id); }
public async Task <IActionResult> Delete(Guid id) => await ReturnBadRequestIfThrowError(async() => await _operationsService.DeleteOperation(id));
public void Delete(int id) { operationsService.DeleteOperation(id); }
public async Task <IActionResult> Delete(Guid id) => await ReturnBadRequestIfThrowError(async() => await _operationsService.DeleteOperation(id));