Example #1
0
        public string DeleteTestSexAllowed(DtoTestSexAllowed dtoTestSexAllowed)
        {
            var testSexAllowed = new TestSexAllowed()
            {
                Id = dtoTestSexAllowed.Id
            };

            TestSexAllowedMethods.Instance.DeleteTestSexAllowed(testSexAllowed);
            return(string.Empty);
        }
Example #2
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);
        }
Example #3
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;
 }
Example #4
0
        public string DeleteTestSexAllowed(DtoTestSexAllowed dtoTestSexAllowed)
        {
            var testSexAllowed = new TestSexAllowed()
            {
                Id = dtoTestSexAllowed.Id
            };

            TestSexAllowedMethods.Instance.DeleteTestSexAllowed(testSexAllowed);
            return string.Empty;
        }