public async Task UpdateAsync(FacebookUserModel entity) { FacebookUser facebookUser = new FacebookUser(); facebookUser.LoginStatus = entity.LoginStatus; await Uow.RegisterDirtyAsync(facebookUser); await Uow.CommitAsync(); }
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(); }
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(); }
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(); } }
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(); } }
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(); }
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(); }
public async Task UpdateAsync(RolePermissions entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(PostMessage entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(vAvailableBed entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
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(); }
public async Task UpdateAsync(BookIssue entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(HotelBooking entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task AddAsync(Otp entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(PassengerInvoice entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(vUserProfile entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(LInkedInUserAuth entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(vCartItem entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(Designation entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(UserCertification entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(GpayUser entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(vBookedCab entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(LogActivity entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
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(); }
public async Task UpdateAsync(EducationDetail entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(SellerProduct entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }
public async Task UpdateAsync(Scratch entity) { await Uow.RegisterDirtyAsync(entity); await Uow.CommitAsync(); }