常用方法
常用方法
常用方法
常用方法
public static GetTextStepDataResponse GetTextStepByID(GetTextStepDataRequest request) { GetTextStepDataResponse result = new GetTextStepDataResponse(); IStepRepository <GetTextStepDataResponse> repo = StepRepositoryFactory <GetTextStepDataResponse> .GetStepRepository(request.ContractNumber, request.Context, textstep); repo.UserId = request.UserId; result = repo.FindByID(request.TextStepID) as GetTextStepDataResponse; return(result != null ? result : new GetTextStepDataResponse()); }