Ejemplo n.º 1
0
 public void Setup()
 {
     advanceListableIntractor = new EntityIntractor.AdvanceListableIntractor <Domain.Models.Blog>(EntityGenerator.BlogGenerator.GenerateListableBlog());
     listableIntractor        = new EntityIntractor.ListableIntractor <Domain.Models.Blog>(EntityGenerator.BlogGenerator.GenerateListableBlog());
     filterableIntractor      = new EntityIntractor.FilterableIntractor <Domain.Models.Blog>(EntityGenerator.BlogGenerator.GenerateListableBlog());
     insertableIntractor      = new EntityIntractor.InsertableIntractor <Domain.Models.Blog>(EntityGenerator.BlogGenerator.GenerateModifiableBlogForInsert());
     editableIntractor        = new EntityIntractor.EditableIntractor <Domain.Models.Blog>(EntityGenerator.BlogGenerator.GenerateModifiableBlogForEditOrRemove(""));
     removeableIntractor      = new EntityIntractor.RemoveableIntractor(EntityGenerator.BlogGenerator.GenerateModifiableBlogForEditOrRemove(""));
     findableIntractor        = new EntityIntractor.FindableIntractor <Domain.Models.Blog>(EntityGenerator.BlogGenerator.GenerateFindableBlog(""));
 }
Ejemplo n.º 2
0
 public void Setup()
 {
     finderIntractor   = new EntityIntractor.FindableIntractor <Domain.Models.Admin>(EntityGenerator.AdminGenerator.GenerateAdminForAuthentication("admin", "admin"));
     editableIntractor = new EntityIntractor.EditableIntractor <Domain.Models.Admin>(EntityGenerator.AdminGenerator.GenerateAdminForEdit("01a"));
     finderIntractor   = new EntityIntractor.FindableIntractor <Domain.Models.Admin>(EntityGenerator.AdminGenerator.GenerateAdminForFind("01a"));
 }