コード例 #1
0
ファイル: UnitTesten.cs プロジェクト: knngvyen1/Oliviem
        public void Initialize()
        {
            accountLogic  = Factory.Factory.GetAccountlogic();
            registerLogic = Factory.Factory.GetRegisterlogic();
            loginlogic    = Factory.Factory.GetLoginLogic();

            user = new Account()
            {
                name        = "Karin",
                gender      = "Woman",
                id          = 1,
                lastname    = "Nguyen",
                dateofbirth = new DateTime(1980, 12, 1),
                saldo       = 100,
                password    = "******",
                username    = "******"
            };
        }
コード例 #2
0
 public RegisterController()
 {
     registerlogic = Factory.Factory.GetRegisterlogic();
 }