CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BusinessLogicContracts/IUserLogic.cs

22 lines
615 B
C#
Raw Normal View History

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);
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
}
}