Пример #1
0
 public void InsertTestSexAllowed(TestSexAllowed testSexAllowed)
 {
     var result = InsertEntity<TestSexAllowed>(testSexAllowed);
     if (result)
     {
        log.Info(string.Format("Test {0} to Sex {1} alloweded", testSexAllowed.Test.Id, testSexAllowed.Sex.Id));
     }
 }
Пример #2
0
        public void InsertTestSexAllowed(TestSexAllowed testSexAllowed)
        {
            var result = InsertEntity <TestSexAllowed>(testSexAllowed);

            if (result)
            {
                log.Info(string.Format("Test {0} to Sex {1} alloweded", testSexAllowed.Test.Id, testSexAllowed.Sex.Id));
            }
        }
Пример #3
0
 public void DeleteTestSexAllowed(TestSexAllowed testSexAllowed)
 {
     DeleteEntity <TestSexAllowed>(testSexAllowed);
 }
Пример #4
0
 public string AddTestSexAllowed(DtoTestSexAllowed dtoTestSexAllowed)
 {
     var testSexAllowed = new TestSexAllowed()
     {
         Test = new Test()
         {
             Id = dtoTestSexAllowed.Test.Id
         },
         Sex = new Sex()
         {
             Id =dtoTestSexAllowed.Sex.Id
         }
     };
      TestSexAllowedMethods.Instance.InsertTestSexAllowed(testSexAllowed);
      return string.Empty;
 }
Пример #5
0
        public string DeleteTestSexAllowed(DtoTestSexAllowed dtoTestSexAllowed)
        {
            var testSexAllowed = new TestSexAllowed()
            {
                Id = dtoTestSexAllowed.Id
            };

            TestSexAllowedMethods.Instance.DeleteTestSexAllowed(testSexAllowed);
            return string.Empty;
        }
Пример #6
0
 public void DeleteTestSexAllowed(TestSexAllowed testSexAllowed)
 {
     DeleteEntity<TestSexAllowed>(testSexAllowed);
 }