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