using BlogContracts.BindingModel; using BlogContracts.SearchModels; using BlogContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlogContracts.StorageContracts { public interface INewsStorage { List GetFullList(); List GetFilteredList(NewsSearchModel model); NewsViewModel? GetElement(NewsSearchModel model); NewsViewModel? Insert(NewsBindingModel model); NewsViewModel? Update(NewsBindingModel model); NewsViewModel? Delete(NewsBindingModel model); } }