private void button2_Click(object sender, EventArgs e) { int UserId = UsersRepository.LoggedInUser.GetUserId(); repository.AddToWhishlist(UserId, item.Id); MessageBox.Show("Preke isiminta!"); }
private void button2_Click(object sender, EventArgs e) { int UserId = UsersRepository.LoggedInUser.GetUserId(); repository.AddToWhishlist(UserId, item.Id); MessageBox.Show("Preke isiminta!"); }