public GetStepResponseListResponse GetStepResponse(GetStepResponseListRequest request) { try { GetStepResponseListResponse response = null; response = DTOUtils.GetStepResponses(request.StepId, request.ContractNumber, true, request.UserId); return(response); } catch (Exception ex) { throw new Exception("DD:DataProgramManager:GetStepResponse()::" + ex.Message, ex.InnerException); } }
public GetStepResponseListResponse Get(GetStepResponseListRequest request) { GetStepResponseListResponse response = new GetStepResponseListResponse(); try { if (string.IsNullOrEmpty(request.UserId)) { throw new UnauthorizedAccessException("ProgramDD:Get()::Unauthorized Access"); } response = ProgramDataManager.GetStepResponse(request); response.Version = request.Version; } catch (Exception ex) { CommonFormatterUtil.FormatExceptionResponse(response, base.Response, ex); string aseProcessID = ConfigurationManager.AppSettings.Get("ASEProcessID") ?? "0"; Helpers.LogException(int.Parse(aseProcessID), ex); } return(response); }