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

22 lines
638 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 IUserLogic
{
List<UserViewModel>? ReadList(UserSearchModel? model);
UserViewModel? ReadElement(UserSearchModel model);
bool Create(UserBindingModel model);
bool Update(UserBindingModel model);
bool Delete(UserBindingModel model);
void UserInsertList(int num, List<RoleViewModel> roles);
}
}