Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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);
        }