using ModuleTools.BusinessLogics; using ModuleTools.Enums; using ModuleTools.Models; using SecurityBusinessLogic.BindingModels; using SecurityBusinessLogic.Interfaces; using SecurityBusinessLogic.ViewModels; namespace SecurityBusinessLogic.BusinessLogics { /// /// Логика работы с пользователями /// public class UserBusinessLogic : BusinessLogicCore { public UserBusinessLogic(IUserService service) : base(service, "Пользователи", AccessOperation.Пользователи) { } protected override UserViewModel ConvertToE(OperationResultModel model) => model.Result as UserViewModel; protected override UserListViewModel ConvertToL(OperationResultModel model) => model.Result as UserListViewModel; } }