PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BusinessLogicContracts/ICategoryLogic.cs
2023-09-06 22:02:39 +04:00

21 lines
605 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 ICategoryLogic
{
List<CategoryViewModel>? ReadList(CategorySearchModel? model);
CategoryViewModel? ReadElement(CategorySearchModel model);
bool Create(CategoryBindingModel model);
bool Update(CategoryBindingModel model);
bool Delete(CategoryBindingModel model);
}
}