PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BusinessLogicContracts/INewsLogic.cs

21 lines
572 B
C#

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.BusinessLogicContracts
{
public interface INewsLogic
{
List<NewsViewModel>? ReadList(NewsSearchModel? model);
NewsViewModel? ReadElement(NewsSearchModel model);
bool Create(NewsBindingModel model);
bool Update(NewsBindingModel model);
bool Delete(NewsBindingModel model);
}
}