Exemplo n.º 1
0
        public async Task UpdateAsync(FacebookUserModel entity)
        {
            FacebookUser facebookUser = new FacebookUser();

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

            await Uow.CommitAsync();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
            }
        }
Exemplo n.º 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();
            }
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
            }
        }
        public async Task UpdateAsync(vCheckShareUser entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 9
0
        public async Task UpdateAsync(RolePermissions entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 10
0
        public async Task UpdateAsync(PostMessage entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 11
0
        public async Task UpdateAsync(vAvailableBed entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 12
0
        public async Task UpdateAsync(UserBankDetail entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
        public async Task UpdateAsync(vOnlineUserList entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 14
0
        public async Task UpdateAsync(BookIssue entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 15
0
        public async Task UpdateAsync(HotelBooking entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 16
0
        public async Task AddAsync(Otp entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 17
0
        public async Task UpdateAsync(PassengerInvoice entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 18
0
        public async Task UpdateAsync(vUserProfile entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 19
0
        public async Task UpdateAsync(LInkedInUserAuth entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 20
0
        public async Task UpdateAsync(vCartItem entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 21
0
        public async Task UpdateAsync(Designation entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 22
0
        public async Task UpdateAsync(UserCertification entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 23
0
        public async Task UpdateAsync(GpayUser entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 24
0
        public async Task UpdateAsync(vBookedCab entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 25
0
        public async Task UpdateAsync(LogActivity entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 26
0
        public async Task UpdateAsync(FacebookUserWork entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
        public async Task UpdateAsync(vAllPost entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 28
0
        public async Task UpdateAsync(EducationDetail entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 29
0
        public async Task UpdateAsync(SellerProduct entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }
Exemplo n.º 30
0
        public async Task UpdateAsync(Scratch entity)
        {
            await Uow.RegisterDirtyAsync(entity);

            await Uow.CommitAsync();
        }