public async Task <IActionResult> Delete(Guid?id)
        {
            if (id == null)
            {
                return(RecordNotFound());
            }

            var deleteOperation = await _bo.DeleteAsync((Guid)id);

            if (!deleteOperation.Success)
            {
                return(OperationErrorBackToIndex(deleteOperation.Exception));
            }

            return(OperationSuccess("The record was successfully deleted."));
        }