public DeleteWorkOrderResponseDto DeleteWorkOrder(DeleteWorkOrderRequestDto deleteWorkOrderRequestDto)
        {
            // Section to verify, whether the particular order has delivered or not

            GetWorkOrderDetailsStatusQM getWorkOrderDetailsStatusQM = new GetWorkOrderDetailsStatusQM();
            GetWorkOrderDetailsStatusCM getWorkOrderDetailsStatusCM = new GetWorkOrderDetailsStatusCM
            {
                WorkOrderNumber = deleteWorkOrderRequestDto.WorkOrderNumber,
                WorkOrderSerial = deleteWorkOrderRequestDto.WorkOrderSerial
            };

            getWorkOrderDetailsStatusQM = workOrderRepository.GetWorkOrderDetailsStatus(getWorkOrderDetailsStatusCM);

            if (!getWorkOrderDetailsStatusQM.Dc)
            {
                workOrderRepository.DeleteWorkOrder(getWorkOrderDetailsStatusCM);
            }

            return(new DeleteWorkOrderResponseDto());
        }