Пример #1
0
        public ScreenPostIt()
        {
            InitializeComponent();

            PostItFields = new List <PostItField>();
            Loaded      += ScreenPostIt_Loaded;

            IDbRepository dbRepository = new DbRepository();

            postItRepository = new PostItRepository(dbRepository);

            settingsRepository = new SettingsRepository();
        }
Пример #2
0
 public PostItService(IPostItRepository repository)
 {
     _repository = repository;
 }