21 lines
581 B
C#
21 lines
581 B
C#
using BlogContracts.BindingModels;
|
|
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 ITopicLogic
|
|
{
|
|
List<TopicViewModel>? ReadList(TopicSearchModel? model);
|
|
TopicViewModel? ReadElement(TopicSearchModel model);
|
|
bool Create(TopicBindingModel model);
|
|
bool Update(TopicBindingModel model);
|
|
bool Delete(TopicBindingModel model);
|
|
}
|
|
}
|