public void GetPublisedPostTest() { DataBaseSoftController dataBase = new DataBaseSoftController(); List <TorrentSoftPost> list = dataBase.GetPublisedPost(); Assert.Fail(); }
/// <summary> /// Устанавливает значение для таблиц формы /// </summary> private void RefreshGridsForm() { DataBaseSoftController dataBase = new DataBaseSoftController(); List <ReadyPost> readyPosts = dataBase.GetNotPublishedPost(); List <ViewReadyPost> viewReadyPosts = ConvertReadyToView(readyPosts); _formSelectPost.SetNotPublishedPost(viewReadyPosts); List <TorrentSoftPost> torrentSoftPosts = dataBase.GetPublisedPost(); List <ViewTorrentSoftPost> viewTorrentSoftPosts = ConvertTorrentSoftToView(torrentSoftPosts); _formSelectPost.SetPublishedPost(viewTorrentSoftPosts); }