Example #1
0
        public GeneOrder CreateGeneOrder()
        {
            var geneOrder = new GeneOrder()
            {
                Name     = "TestGene",
                Sequence = "TTTTTT",
                User     = CreateTestUser(),
            };

            return(GetOrCreate(() => geneOrder));
        }
Example #2
0
        public GeneOrder CreateGeneOrder()
        {
            GeneOrder geneOrder = new GeneOrder
            {
                Name     = "Poly T",
                Sequence = "TTTTTTT",
                User     = CreateTestUserWithRole()
            };

            return(GetOrCreate(geneOrder, () => RemoveEntity(geneOrder)));
        }