Example #1
0
 private void UpdateProjectName()
 {
     foreach (var relation
              in RelationProjectEmployeeRepo.GetAllRelations())
     {
         if (relation.NameOfProject == OldName)
         {
             relation.NameOfProject = NameTextBox.Text;
         }
     }
 }
Example #2
0
 private void UpdateOib()
 {
     foreach (var relation
              in RelationProjectEmployeeRepo.GetAllRelations())
     {
         if (relation.Oib == OldOib)
         {
             relation.Oib = OibTextBox.Text;
         }
     }
 }