static void Main(string[] args)
        {

            //byte[] fileData = File.ReadAllBytes(@"E:\Git\TheFrameworkOfSetme.MVC_v14.01\Setme.Domain\bin\Debug\Setme.Domain.dll");
            //Assembly assembly = Assembly.Load(fileData);
            //IEnumerable<Type> modelTypes = assembly.DefinedTypes.Where(t => t.Namespace == "Setme.Domain.Model" && t.BaseType.Name.Equals(typeof(AggregateRoot).UnderlyingSystemType.Name)).ToList();

            Employee employee = new Employee()
            {
                Email = "*****@*****.**",
                PassWord = "******",
                Phone = "18622886487",
                RealName = "冯龙发",
                Sex = Setme.Domain.Model.EnumStatus.SexStatus.Man,
                UserName = "******"
            };
            IEmployeeService employeeService = new EmployeeService();
            OperationResult result = employeeService.CreateEmployee(employee);
            if (result.ResultType == OperationResultType.Success)
            {
                Console.Write(result.Message);
                Console.ReadKey(true);
            }
            else
            {
                Console.Write(result.Message);
                Console.ReadKey(true);
            }
        }
 public void TestChangeEmployee()
 {
     var employee = new Employee();
     employee.UserName = "******";
     employee.RealName = "8522";
     IEmployeeService employeeService = new EmployeeService();
     employeeService.ChangeEmployee(employee);
 }
 public void TestCreateEmployee()
 {
     var employee = Employee.CreateEmployee("flf32167", "321677", "冯龙发", Domain.Model.EnumStatus.SexStatus.Man, "18622886487", "0471-xxxxxxx", "*****@*****.**", Domain.Model.EnumStatus.OpenStatus.On);
     IEmployeeService employeeService = new EmployeeService();
     employeeService.CreateEmployee(employee);
 }