public static GetAllTextStepDataResponse GetAllTextSteps(GetAllTextStepDataRequest request) { GetAllTextStepDataResponse result = new GetAllTextStepDataResponse(); IStepRepository <GetAllTextStepDataResponse> repo = StepRepositoryFactory <GetAllTextStepDataResponse> .GetStepRepository(request.ContractNumber, request.Context, "text"); repo.UserId = request.UserId; result = repo.SelectAll() as GetAllTextStepDataResponse; return(result); }