Esempio n. 1
0
        /// <summary>
        /// Execute convert input.
        /// </summary>
        /// <param name="request">RequestModel</param>
        /// <returns>DataModel</returns>
        private DeleteDataModel Convert(DeleteRequestModel request)
        {
            // Local variable declaration
            DeleteDataModel inputObject = null;

            // Variable initialize
            inputObject = new DeleteDataModel();

            // Convert data input
            DataHelper.ConvertInput(request, inputObject);

            // Return value
            return inputObject;
        }
Esempio n. 2
0
 /// <summary>
 /// Delete process.
 /// </summary>
 /// <param name="request">RequestModel</param>
 /// <returns>ResponseModel</returns>
 public DeleteResponseModel Invoke(DeleteRequestModel request)
 {
     var response = Execute(request);
     return response;
 }
Esempio n. 3
0
        /// <summary>
        /// Execute processing.
        /// </summary>
        /// <param name="request">RequestModel</param>
        /// <returns>ResponseModel</returns>
        private DeleteResponseModel Execute(DeleteRequestModel request)
        {
            // Local variable declaration
            DeleteResponseModel responseModel = null;
            DeleteDataModel inputObject = null;
            DeleteDataModel resultObject = null;

            // Variable initialize
            responseModel = new DeleteResponseModel();

            // Execute convert input.
            inputObject = Convert(request);

            // Check infomation
            Check(inputObject);

            // Delete infomation
            resultObject = DeleteInfo(inputObject);

            // Execute convert ouput.
            responseModel = Convert(resultObject);

            return responseModel;
        }