23 lines
716 B
C#
23 lines
716 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.StoragesContracts
|
|||
|
{
|
|||
|
public interface IUserStorage
|
|||
|
{
|
|||
|
List<UserViewModel> GetFullList();
|
|||
|
List<UserViewModel> GetFilteredList(UserSearchModel model);
|
|||
|
UserViewModel? GetElement(UserSearchModel model);
|
|||
|
UserViewModel? Insert(UserBindingModel model);
|
|||
|
UserViewModel? Update(UserBindingModel model);
|
|||
|
UserViewModel? Delete(UserBindingModel model);
|
|||
|
void UserInsertList(int num, List<RoleViewModel> roles);
|
|||
|
}
|
|||
|
}
|