22 lines
642 B
C#
22 lines
642 B
C#
|
using ForumContracts.BindingModels;
|
|||
|
using ForumContracts.SearchModels;
|
|||
|
using ForumContracts.ViewModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ForumContracts.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);
|
|||
|
}
|
|||
|
}
|