public GeneOrder CreateGeneOrder() { var geneOrder = new GeneOrder() { Name = "TestGene", Sequence = "TTTTTT", User = CreateTestUser(), }; return(GetOrCreate(() => geneOrder)); }
public GeneOrder CreateGeneOrder() { GeneOrder geneOrder = new GeneOrder { Name = "Poly T", Sequence = "TTTTTTT", User = CreateTestUserWithRole() }; return(GetOrCreate(geneOrder, () => RemoveEntity(geneOrder))); }