PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/StorageContracts/ITopicStorage.cs

22 lines
659 B
C#
Raw Normal View History

2023-09-06 22:02:39 +04:00
using BlogContracts.BindingModels;
using BlogContracts.SearchModels;
using BlogContracts.ViewModels;
2023-09-06 20:46:57 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2023-09-06 22:02:39 +04:00
namespace BlogContracts.StoragesContracts
2023-09-06 20:46:57 +04:00
{
public interface ITopicStorage
{
List<TopicViewModel> GetFullList();
List<TopicViewModel> GetFilteredList(TopicSearchModel model);
TopicViewModel? GetElement(TopicSearchModel model);
TopicViewModel? Insert(TopicBindingModel model);
TopicViewModel? Update(TopicBindingModel model);
TopicViewModel? Delete(TopicBindingModel model);
}
}