2024-04-27 13:01:57 +04:00
|
|
|
|
using ElectronicsShopContracts.BindingModels;
|
|
|
|
|
using ElectronicsShopContracts.SearchModels;
|
|
|
|
|
using ElectronicsShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2024-04-28 23:08:09 +04:00
|
|
|
|
public interface IUserLogic
|
2024-04-27 13:01:57 +04:00
|
|
|
|
{
|
2024-04-28 23:08:09 +04:00
|
|
|
|
List<UserViewModel>? ReadList(UserSearchModel? model);
|
2024-05-19 16:01:45 +04:00
|
|
|
|
UserViewModel? ReadElemet(UserSearchModel model);
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-04-28 23:08:09 +04:00
|
|
|
|
bool Add(UserBindingModel model);
|
|
|
|
|
bool Update(UserBindingModel model);
|
|
|
|
|
bool Delete(UserBindingModel model);
|
2024-04-27 13:01:57 +04:00
|
|
|
|
}
|
|
|
|
|
}
|