using ModelTools.BusinessLogics; using ModelTools.Enums; using ModelTools.OperationResultModels; using SecurityBusinessLogic.BindingModels; using SecurityBusinessLogic.Interfaces; using SecurityBusinessLogic.ViewModels; namespace SecurityBusinessLogic.BusinessLogics { /// /// Логика работы с общими настройками системы /// public class EnviromentSettingBusinessLogic : BusinessLogicCore { public EnviromentSettingBusinessLogic(IEnviromentSettingService service) : base(service, "Настройки Среды", AccessOperation.НастройкиСреды) { } protected override EnviromentSettingViewModel ConvertToE(OperationResultModel model) => model.Result as EnviromentSettingViewModel; protected override EnviromentSettingListViewModel ConvertToL(OperationResultModel model) => model.Result as EnviromentSettingListViewModel; } }