Ejemplo n.º 1
0
        public void UpdateEmployee(string firstName, string lastName, string phoneNumber, string address, int permission, Person supervisor)
        {
            Person person = new Person()
            {
                FirstName = firstName, LastName = lastName, PhoneNumber = phoneNumber, Adress = address
            };

            Employee.IdPermission = permission;
            _logic.UpdateEmployee(person, Employee, supervisor);
        }