public async Task <IActionResult> DeleteAsync(string id) { try { await _mapService.DeleteAsync(id); return(NoContent()); } catch (InvalidOperationException e) { return(BadRequest(e.Message)); } }