コード例 #1
0
ファイル: Logic.cs プロジェクト: isel-31612/Spotichelas
        protected Logic()
        {
            DAL dal = DAL.Factory();

            Create  = new CreateLogic(dal);
            Edit    = new EditLogic(dal);
            Find    = new FindLogic(dal);
            FindAll = new FindAllLogic(dal);
            Remove  = new RemoveLogic(dal);
        }
コード例 #2
0
ファイル: Logic.cs プロジェクト: isel-31612/Spotichelas
        private Logic()
        {
            DAL dal = DAL.Factory();//TODO: inject repository

            Create  = new CreateLogic(dal);
            Edit    = new EditLogic(dal);
            Find    = new FindLogic(dal);
            FindAll = new FindAllLogic(dal);
            Remove  = new RemoveLogic(dal);
        }