Ejemplo n.º 1
0
        //public void Add(Employee newemployee) { }
        public bool Add(Employee newemployee)
        {
            Bank bank = Bank.get_obj();

            if (bank._EmployeeList.ContainsKey(newemployee._UserName))
            {
                return(false);
            }
            else
            {
                return(newemployee.SaveEmployee());
            }
        }