public async Task <ApiResponse> Delete(long id) { try { await _textStore.DeleteById(id); return(new ApiResponse(Status200OK, "Soft Delete text")); } catch (InvalidDataException dataException) { return(new ApiResponse(Status400BadRequest, "Failed to update text")); } }