/// <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; }
/// <summary> /// Delete process. /// </summary> /// <param name="request">RequestModel</param> /// <returns>ResponseModel</returns> public DeleteResponseModel Invoke(DeleteRequestModel request) { var response = Execute(request); return response; }
/// <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; }