public bool DeleteList <T>(List <int> iDIdentity) where T : class { bool @bool = false; InterfaceRepoDeleteList repoWrapper = new RepoWrapper(new MirrorDBContext()); var resultRepo = repoWrapper.DeleteList <T>(iDIdentity); if (resultRepo.IsSuccessConnection & resultRepo.IsSuccessQuery) { @bool = true; } return(@bool); }
public bool DeleteList <T1, T2>(List <T1> entity1, List <T2> entity2) where T1 : class where T2 : class { bool @bool = false; InterfaceRepoDeleteList repoWrapper = new RepoWrapper(new MirrorDBContext()); var resultRepo = repoWrapper.DeleteList <T1, T2>(entity1, entity2); if (resultRepo.IsSuccessConnection & resultRepo.IsSuccessQuery) { @bool = true; } return(@bool); }
public bool DeleteList <T1, T2, T3, T4>(List <int> iDIdentity1, List <int> iDIdentity2, List <int> iDIdentity3, List <int> iDIdentity4) where T1 : class where T2 : class where T3 : class where T4 : class { bool @bool = false; InterfaceRepoDeleteList repoWrapper = new RepoWrapper(new MirrorDBContext()); var resultRepo = repoWrapper.DeleteList <T1, T2, T3, T4>(iDIdentity1, iDIdentity2, iDIdentity3, iDIdentity4); if (resultRepo.IsSuccessConnection & resultRepo.IsSuccessQuery) { @bool = true; } return(@bool); }