public void AddClassifiers_Returns_Success()
        {
            using (var bc = new BusinessContext())
            {
                var expectedCount = 3;

                bc.AddType1_Classifier(new Type1_Classifiers()
                {
                    Type1_ClassifierName = "classifier_1_1"
                });
                bc.AddType1_Classifier(new Type1_Classifiers()
                {
                    Type1_ClassifierName = "classifier_1_2"
                });
                bc.AddType1_Classifier(new Type1_Classifiers()
                {
                    Type1_ClassifierName = "classifier_1_3"
                });

                bc.AddType2_Classifier(new Type2_Classifiers()
                {
                    Type2_ClassifierName = "classifier_2_1"
                });
                bc.AddType2_Classifier(new Type2_Classifiers()
                {
                    Type2_ClassifierName = "classifier_2_2"
                });
                bc.AddType2_Classifier(new Type2_Classifiers()
                {
                    Type2_ClassifierName = "classifier_2_3"
                });

                bc.AddType3_Classifier(new Type3_Classifiers()
                {
                    Type3_ClassifierName = "classifier_3_1"
                });
                bc.AddType3_Classifier(new Type3_Classifiers()
                {
                    Type3_ClassifierName = "classifier_3_2"
                });
                bc.AddType3_Classifier(new Type3_Classifiers()
                {
                    Type3_ClassifierName = "classifier_3_3"
                });

                bc.AddType4_Classifier(new Type4_Classifiers()
                {
                    Type4_ClassifierName = "classifier_4_1"
                });
                bc.AddType4_Classifier(new Type4_Classifiers()
                {
                    Type4_ClassifierName = "classifier_4_2"
                });
                bc.AddType4_Classifier(new Type4_Classifiers()
                {
                    Type4_ClassifierName = "classifier_4_3"
                });

                Assert.AreEqual(expectedCount, bc.DataContext.Type1ClassifiersItems.Count());
                Assert.AreEqual(expectedCount, bc.DataContext.Type2ClassifiersItems.Count());
                Assert.AreEqual(expectedCount, bc.DataContext.Type3ClassifiersItems.Count());
                Assert.AreEqual(expectedCount, bc.DataContext.Type4ClassifiersItems.Count());
            }
        }
 public async Task <Type2_Classifiers> CreateItem(Type2_Classifiers item)
 {
     return(await Task.Run(() => { return _context.AddType2_Classifier(item); }));
 }