Пример #1
0
 private void AddOrUpdateEmployee(Guid id, string lastName, string firstName, string title, string location, string organization, string subOrganization,
                                  byte[] picture)
 {
     if (feedbackRepository.HasEmployee(id))
     {
         feedbackRepository.UpdateEmployee(id, lastName, firstName, title, location, organization, subOrganization, picture);
     }
     else
     {
         feedbackRepository.AddEmployee(id, lastName, firstName, title, location, organization, subOrganization, picture);
     }
 }