コード例 #1
0
        public async Task UpdateAsync(FacebookUserModel entity)
        {
            FacebookUser facebookUser = new FacebookUser();

            facebookUser.LoginStatus = entity.LoginStatus;
            await Uow.RegisterDirtyAsync(facebookUser);

            await Uow.CommitAsync();
        }
コード例 #2
0
        public async Task UpdateAsync(FacebookUserWork entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();

            //  var update = await Uow.Repository<FacebookUserWork>().FindByAsync(m => m.UserWorkId == entity.UserWorkId);
            //  await Uow.RegisterDirtyAsync(update);
//await Uow.CommitAsync();
        }
コード例 #3
0
        public async Task UpdateAsync(Otp entity)
        {
            Random rnd          = new Random();
            string randomNumber = (rnd.Next(100000, 999999)).ToString();

            entity.OtpCode = Int32.Parse(randomNumber);
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #4
0
        public async Task UpdateAsync(UserAddress entity)
        {
            var user = await Uow.Repository <UserAddress>().FindByAsync(t => t.AppUserId == entity.AppUserId);

            if (user != null)
            {
                await Uow.RegisterDirtyAsync(entity);

                await Uow.CommitAsync();
            }
        }
コード例 #5
0
        public async Task UpdateAsync(AppUser entity)
        {
            var user = await Uow.Repository <AppUser>().FindByAsync(t => t.AppUserId == entity.AppUserId);

            if (user != null)
            {
                PasswordResult result = PasswordHash.Encrypt(entity.userPassword);
                entity.Password = result.Signature;
                entity.Salt     = result.Salt;
                await Uow.RegisterDirtyAsync(entity);

                await Uow.CommitAsync();
            }
        }
コード例 #6
0
        public async Task UpdateAsync(Authentication entity)
        {
            User user;

            user = await Uow.Repository <User>().FindByKeyAsync(entity.UserId);

            //user.FirstName = "Rutva";
            PasswordResult passwordResult = PasswordHash.Encrypt(entity.userPassword);

            user.Password = passwordResult.Signature;
            user.Salt     = passwordResult.Salt;
            await Uow.RegisterDirtyAsync(user);

            await Uow.CommitAsync();
        }
コード例 #7
0
        public async Task UpdateAsync(Kyc entity)
        {
            var temp = Uow.Repository <Kyc>().Count(t => t.KycId == entity.KycId && t.KycVerifyNumber == entity.KycVerifyNumber);

            if (temp != 0)
            {
                entity.KycStatus = true;
                await Uow.RegisterDirtyAsync(entity);

                await Uow.CommitAsync();
            }
            else
            {
                entity.KycStatus = false;
                await Uow.RegisterDirtyAsync(entity);

                await Uow.CommitAsync();
            }
        }
コード例 #8
0
        public async Task UpdateAsync(vCheckShareUser entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #9
0
        public async Task UpdateAsync(RolePermissions entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #10
0
        public async Task UpdateAsync(PostMessage entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #11
0
        public async Task UpdateAsync(vAvailableBed entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #12
0
        public async Task UpdateAsync(UserBankDetail entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #13
0
        public async Task UpdateAsync(vOnlineUserList entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #14
0
        public async Task UpdateAsync(BookIssue entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #15
0
        public async Task UpdateAsync(HotelBooking entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #16
0
        public async Task AddAsync(Otp entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #17
0
        public async Task UpdateAsync(PassengerInvoice entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #18
0
        public async Task UpdateAsync(vUserProfile entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #19
0
        public async Task UpdateAsync(LInkedInUserAuth entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #20
0
        public async Task UpdateAsync(vCartItem entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #21
0
        public async Task UpdateAsync(Designation entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #22
0
        public async Task UpdateAsync(UserCertification entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #23
0
        public async Task UpdateAsync(GpayUser entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #24
0
        public async Task UpdateAsync(vBookedCab entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #25
0
        public async Task UpdateAsync(LogActivity entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #26
0
        public async Task UpdateAsync(FacebookUserWork entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #27
0
        public async Task UpdateAsync(vAllPost entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #28
0
        public async Task UpdateAsync(EducationDetail entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #29
0
        public async Task UpdateAsync(SellerProduct entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
コード例 #30
0
        public async Task UpdateAsync(Scratch entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }