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