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

            TestSexAllowedMethods.Instance.DeleteTestSexAllowed(testSexAllowed);
            return(string.Empty);
        }
Exemple #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);
        }