Permalink
Browse files

Updated

  • Loading branch information...
1 parent e427c17 commit 985cd3df737d5d7ef2500ebc5a3e98d5f2ab65b4 @developwithpassion developwithpassion committed Sep 23, 2011
@@ -8,7 +8,7 @@ public class StubGetTheDepartmentsInADepartment : IFetchA<IEnumerable<Department
{
public IEnumerable<Department> run_using(IContainRequestInformation request)
{
- return Enumerable.Range(1, 100).Select(x => new Department {name = x.ToString("Sub Department 0")});
+ return Enumerable.Range(1, 100).Select(x => new Department {name = x.ToString("Sub Department 0"),has_products = x %2 ==0});
}
}
}
@@ -8,7 +8,7 @@ public class StubGetTheMainDepartments : IFetchA<IEnumerable<Department>>
{
public IEnumerable<Department> run_using(IContainRequestInformation request)
{
- return Enumerable.Range(1, 100).Select(x => new Department {name = x.ToString("Department 0")});
+ return Enumerable.Range(1, 100).Select(x => new Department {name = x.ToString("Main Department 0"),has_products = x %2 ==0});
}
}
}

0 comments on commit 985cd3d

Please sign in to comment.