public bool DeleteActiveBool <T>(int IDIdentity) where T : class { bool @bool = false; InterfaceRepoDeleteActiveBool repoWrapper = new RepoWrapper(new MirrorDBContext()); var resultRepo = repoWrapper.DeleteActiveBool <T>(IDIdentity); if (resultRepo.IsSuccessConnection & resultRepo.IsSuccessQuery) { @bool = true; } return(@bool); }
public bool DeleteActiveBool <T1, T2>(T1 entity1, T2 entity2) where T1 : class where T2 : class { bool @bool = false; InterfaceRepoDeleteActiveBool repoWrapper = new RepoWrapper(new MirrorDBContext()); var resultRepo = repoWrapper.DeleteActiveBool <T1, T2>(entity1, entity2); if (resultRepo.IsSuccessConnection & resultRepo.IsSuccessQuery) { @bool = true; } return(@bool); }
public bool DeleteActiveBool <T1, T2, T3, T4>(int IDIdentity1, int IDIdentity2, int IDIdentity3, int IDIdentity4) where T1 : class where T2 : class where T3 : class where T4 : class { bool @bool = false; InterfaceRepoDeleteActiveBool repoWrapper = new RepoWrapper(new MirrorDBContext()); var resultRepo = repoWrapper.DeleteActiveBool <T1, T2, T3, T4>(IDIdentity1, IDIdentity2, IDIdentity3, IDIdentity4); if (resultRepo.IsSuccessConnection & resultRepo.IsSuccessQuery) { @bool = true; } return(@bool); }