рефакторинг, создание контрактов кафедры
This commit is contained in:
parent
07060426c4
commit
cce896bf2b
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями учебного плана
|
||||
/// </summary>
|
||||
public class AcademicPlanRecordBusinessLogic : GenericBusinessLogic<AcademicPlanRecordGetBindingModel, AcademicPlanRecordSetBindingModel, AcademicPlanRecordListViewModel, AcademicPlanRecordViewModel>
|
||||
{
|
||||
public AcademicPlanRecordBusinessLogic(IAcademicPlanRecordService service) : base(service, "Записи Учебных Планов", AccessOperation.УчебныеПланы) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с часами нагрузок записей учебных планов
|
||||
/// </summary>
|
||||
public class AcademicPlanRecordTimeNormHourBusinessLogic : GenericBusinessLogic<AcademicPlanRecordTimeNormHourGetBindingModel, AcademicPlanRecordTimeNormHourSetBindingModel, AcademicPlanRecordTimeNormHourListViewModel, AcademicPlanRecordTimeNormHourViewModel>
|
||||
{
|
||||
public AcademicPlanRecordTimeNormHourBusinessLogic(IAcademicPlanRecordTimeNormHourService service) : base(service, "Часы Нагрузок Записей Учебных Планов", AccessOperation.УчебныеПланы) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с аудиториями
|
||||
/// </summary>
|
||||
public class ClassroomBusinessLogic : GenericBusinessLogic<ClassroomGetBindingModel, ClassroomSetBindingModel, ClassroomListViewModel, ClassroomViewModel>
|
||||
{
|
||||
public ClassroomBusinessLogic(IClassroomService service) : base(service, "Аудитории", AccessOperation.Аудитории) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с блоками дисциплин
|
||||
/// </summary>
|
||||
public class DisciplineBlockBusinessLogic : GenericBusinessLogic<DisciplineBlockGetBindingModel, DisciplineBlockSetBindingModel, DisciplineBlockListViewModel, DisciplineBlockViewModel>
|
||||
{
|
||||
public DisciplineBlockBusinessLogic(IDisciplineBlockService service) : base(service, "Аудитории", AccessOperation.Дисциплины) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с дисциплинами
|
||||
/// </summary>
|
||||
public class DisciplineBusinessLogic : GenericBusinessLogic<DisciplineGetBindingModel, DisciplineSetBindingModel, DisciplineListViewModel, DisciplineViewModel>
|
||||
{
|
||||
public DisciplineBusinessLogic(IDisciplineService service) : base(service, "Аудитории", AccessOperation.Дисциплины) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с направлениями обучений
|
||||
/// </summary>
|
||||
public class EducationDirectionBusinessLogic : GenericBusinessLogic<EducationDirectionGetBindingModel, EducationDirectionSetBindingModel, EducationDirectionListViewModel, EducationDirectionViewModel>
|
||||
{
|
||||
public EducationDirectionBusinessLogic(IEducationDirectionService service) : base(service, "Направления Обучений", AccessOperation.НаправленияОбучений) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с сотрудниками
|
||||
/// </summary>
|
||||
public class EmployeeBusinessLogic : GenericBusinessLogic<EmployeeGetBindingModel, EmployeeSetBindingModel, EmployeeListViewModel, EmployeeViewModel>
|
||||
{
|
||||
public EmployeeBusinessLogic(IEmployeeService service) : base(service, "Сотрудники", AccessOperation.Сотрудники) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со связями сотрудников и должностей
|
||||
/// </summary>
|
||||
public class EmployeePostBusinessLogic : GenericBusinessLogic<EmployeePostGetBindingModel, EmployeePostSetBindingModel, EmployeePostListViewModel, EmployeePostViewModel>
|
||||
{
|
||||
public EmployeePostBusinessLogic(IEmployeePostService service) : base(service, "Должности сотрудников", AccessOperation.Сотрудники) { }
|
||||
}
|
||||
}
|
@ -1,15 +1,16 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учебными планами
|
||||
/// </summary>
|
||||
public class AcademicPlanBusinessLogic : GenericBusinessLogic<AcademicPlanGetBindingModel, AcademicPlanSetBindingModel, AcademicPlanListViewModel, AcademicPlanViewModel>
|
||||
public class AcademicPlanBusinessLogic : GenericBusinessLogic<AcademicPlanGetBindingModel, AcademicPlanSetBindingModel, AcademicPlanListViewModel, AcademicPlanViewModel>, IAcademicPlanLogic
|
||||
{
|
||||
public AcademicPlanBusinessLogic(IAcademicPlanService service) : base(service, "Учебные Планы", AccessOperation.УчебныеПланы) { }
|
||||
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями учебного плана
|
||||
/// </summary>
|
||||
public class AcademicPlanRecordBusinessLogic : GenericBusinessLogic<AcademicPlanRecordGetBindingModel, AcademicPlanRecordSetBindingModel, AcademicPlanRecordListViewModel, AcademicPlanRecordViewModel>, IAcademicPlanRecordLogic
|
||||
{
|
||||
public AcademicPlanRecordBusinessLogic(IAcademicPlanRecordService service) : base(service, "Записи Учебных Планов", AccessOperation.УчебныеПланы) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с часами нагрузок записей учебных планов
|
||||
/// </summary>
|
||||
public class AcademicPlanRecordTimeNormHourBusinessLogic : GenericBusinessLogic<AcademicPlanRecordTimeNormHourGetBindingModel, AcademicPlanRecordTimeNormHourSetBindingModel, AcademicPlanRecordTimeNormHourListViewModel, AcademicPlanRecordTimeNormHourViewModel>, IAcademicPlanRecordTimeNormHourLogic
|
||||
{
|
||||
public AcademicPlanRecordTimeNormHourBusinessLogic(IAcademicPlanRecordTimeNormHourService service) : base(service, "Часы Нагрузок Записей Учебных Планов", AccessOperation.УчебныеПланы) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с аудиториями
|
||||
/// </summary>
|
||||
public class ClassroomBusinessLogic : GenericBusinessLogic<ClassroomGetBindingModel, ClassroomSetBindingModel, ClassroomListViewModel, ClassroomViewModel>, IClassroomLogic
|
||||
{
|
||||
public ClassroomBusinessLogic(IClassroomService service) : base(service, "Аудитории", AccessOperation.Аудитории) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с блоками дисциплин
|
||||
/// </summary>
|
||||
public class DisciplineBlockBusinessLogic : GenericBusinessLogic<DisciplineBlockGetBindingModel, DisciplineBlockSetBindingModel, DisciplineBlockListViewModel, DisciplineBlockViewModel>, IDisciplineBlockLogic
|
||||
{
|
||||
public DisciplineBlockBusinessLogic(IDisciplineBlockService service) : base(service, "Аудитории", AccessOperation.Дисциплины) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с дисциплинами
|
||||
/// </summary>
|
||||
public class DisciplineBusinessLogic : GenericBusinessLogic<DisciplineGetBindingModel, DisciplineSetBindingModel, DisciplineListViewModel, DisciplineViewModel>, IDisciplineLogic
|
||||
{
|
||||
public DisciplineBusinessLogic(IDisciplineService service) : base(service, "Аудитории", AccessOperation.Дисциплины) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с направлениями обучений
|
||||
/// </summary>
|
||||
public class EducationDirectionBusinessLogic : GenericBusinessLogic<EducationDirectionGetBindingModel, EducationDirectionSetBindingModel, EducationDirectionListViewModel, EducationDirectionViewModel>, IEducationDirectionLogic
|
||||
{
|
||||
public EducationDirectionBusinessLogic(IEducationDirectionService service) : base(service, "Направления Обучений", AccessOperation.НаправленияОбучений) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с сотрудниками
|
||||
/// </summary>
|
||||
public class EmployeeBusinessLogic : GenericBusinessLogic<EmployeeGetBindingModel, EmployeeSetBindingModel, EmployeeListViewModel, EmployeeViewModel>, IEmployeeLogic
|
||||
{
|
||||
public EmployeeBusinessLogic(IEmployeeService service) : base(service, "Сотрудники", AccessOperation.Сотрудники) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со связями сотрудников и должностей
|
||||
/// </summary>
|
||||
public class EmployeePostBusinessLogic : GenericBusinessLogic<EmployeePostGetBindingModel, EmployeePostSetBindingModel, EmployeePostListViewModel, EmployeePostViewModel>, IEmployeePostLogic
|
||||
{
|
||||
public EmployeePostBusinessLogic(IEmployeePostService service) : base(service, "Должности сотрудников", AccessOperation.Сотрудники) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с цчеными степенями
|
||||
/// </summary>
|
||||
public class LecturerAcademicDegreeBusinessLogic : GenericBusinessLogic<LecturerAcademicDegreeGetBindingModel, LecturerAcademicDegreeSetBindingModel, LecturerAcademicDegreeListViewModel, LecturerAcademicDegreeViewModel>, ILecturerAcademicDegreeLogic
|
||||
{
|
||||
public LecturerAcademicDegreeBusinessLogic(ILecturerAcademicDegreeService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учеными званиями
|
||||
/// </summary>
|
||||
public class LecturerAcademicRankBusinessLogic : GenericBusinessLogic<LecturerAcademicRankGetBindingModel, LecturerAcademicRankSetBindingModel, LecturerAcademicRankListViewModel, LecturerAcademicRankViewModel>, ILecturerAcademicRankLogic
|
||||
{
|
||||
public LecturerAcademicRankBusinessLogic(ILecturerAcademicRankService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с преподавателями
|
||||
/// </summary>
|
||||
public class LecturerBusinessLogic : GenericBusinessLogic<LecturerGetBindingModel, LecturerSetBindingModel, LecturerListViewModel, LecturerViewModel>, ILecturerLogic
|
||||
{
|
||||
public LecturerBusinessLogic(ILecturerService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со связями преподавателей и должностей
|
||||
/// </summary>
|
||||
public class LecturerPostBusinessLogic : GenericBusinessLogic<LecturerPostGetBindingModel, LecturerPostSetBindingModel, LecturerPostListViewModel, LecturerPostViewModel>, ILecturerPostLogic
|
||||
{
|
||||
public LecturerPostBusinessLogic(ILecturerPostService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с приказами
|
||||
/// </summary>
|
||||
public class OrderBusinessLogic : GenericBusinessLogic<OrderGetBindingModel, OrderSetBindingModel, OrderListViewModel, OrderViewModel>, IOrderLogic
|
||||
{
|
||||
public OrderBusinessLogic(IOrderService service) : base(service, "Приказы", AccessOperation.Приказы) { }
|
||||
}
|
||||
}
|
@ -1,18 +1,19 @@
|
||||
using CoreModels.Enums.Department;
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using SecurityContract.BindingModels;
|
||||
using SecurityContract.Logics.IGenericEntityLogic;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
using SecurityBusinessLogic.BindingModels;
|
||||
using SecurityBusinessLogic.BusinessLogics;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями приказов
|
||||
/// </summary>
|
||||
public class OrderStudentRecordBusinessLogic : GenericBusinessLogic<OrderStudentRecordGetBindingModel, OrderStudentRecordSetBindingModel, OrderStudentRecordListViewModel, OrderStudentRecordViewModel>
|
||||
public class OrderStudentRecordBusinessLogic : GenericBusinessLogic<OrderStudentRecordGetBindingModel, OrderStudentRecordSetBindingModel, OrderStudentRecordListViewModel, OrderStudentRecordViewModel>, IOrderStudentRecordLogic
|
||||
{
|
||||
public OrderStudentRecordBusinessLogic(IOrderStudentRecordService service) : base(service, "Приказы", AccessOperation.Приказы) { }
|
||||
|
||||
@ -21,8 +22,8 @@ namespace DepartmentBusinessLogic.BusinessLogics
|
||||
var result = base.Create(model);
|
||||
if (result != null)
|
||||
{
|
||||
var studentLogic = DependencyManager.Instance.Resolve<StudentBusinessLogic>();
|
||||
var userLogic = DependencyManager.Instance.Resolve<UserBusinessLogic>();
|
||||
var studentLogic = DependencyManager.Instance.Resolve<IStudentLogic>();
|
||||
var userLogic = DependencyManager.Instance.Resolve<IUserLogic>();
|
||||
var student = studentLogic.GetElement(new StudentGetBindingModel { Id = result.StudentId });
|
||||
if (student == null)
|
||||
{
|
@ -1,15 +1,12 @@
|
||||
using CoreModels.Enums.Department;
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.HelperModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
using ToolsModule.Extensions;
|
||||
using ToolsModule.Interfaces;
|
||||
using SecurityBusinessLogic.BindingModels;
|
||||
using SecurityBusinessLogic.BusinessLogics;
|
||||
using SecurityBusinessLogic.ViewModels;
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using SecurityContract.BindingModels;
|
||||
using SecurityContract.Logics.IGenericEntityLogic;
|
||||
using SecurityContract.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@ -18,31 +15,35 @@ using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
using ToolsModule.Extensions;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с историями синхронизации приказов
|
||||
/// </summary>
|
||||
public class OrderSyncHistoryBusinessLogic : GenericBusinessLogic<OrderSyncHistoryGetBindingModel, OrderSyncHistorySetBindingModel, OrderSyncHistoryListViewModel, OrderSyncHistoryViewModel>
|
||||
public class OrderSyncHistoryBusinessLogic : GenericBusinessLogic<OrderSyncHistoryGetBindingModel, OrderSyncHistorySetBindingModel, OrderSyncHistoryListViewModel, OrderSyncHistoryViewModel>, IOrderSyncHistoryLogic
|
||||
{
|
||||
private OrderSyncHistoryRecordBusinessLogic _recordLogic;
|
||||
private IOrderSyncHistoryRecordLogic _recordLogic;
|
||||
|
||||
private EnviromentSettingBusinessLogic _enviromentSettingLogic;
|
||||
private IEnviromentSettingLogic _enviromentSettingLogic;
|
||||
|
||||
private StudentGroupBusinessLogic _groupsLogic;
|
||||
private IStudentGroupLogic _groupsLogic;
|
||||
|
||||
private StudentBusinessLogic _studentLogic;
|
||||
private IStudentLogic _studentLogic;
|
||||
|
||||
private UserBusinessLogic _userLogic;
|
||||
private IUserLogic _userLogic;
|
||||
|
||||
private UserRoleBusinessLogic _userRoleLogic;
|
||||
private IUserRoleLogic _userRoleLogic;
|
||||
|
||||
private RoleBusinessLogic _roleLogic;
|
||||
private IRoleLogic _roleLogic;
|
||||
|
||||
private OrderBusinessLogic _orderLogic;
|
||||
private IOrderLogic _orderLogic;
|
||||
|
||||
private OrderStudentRecordBusinessLogic _orderStudentRecordLogic;
|
||||
private IOrderStudentRecordLogic _orderStudentRecordLogic;
|
||||
|
||||
public OrderSyncHistoryBusinessLogic(IOrderSyncHistoryService service) : base(service, "Синхронизация Приказов", AccessOperation.СинхронизацияПриказов) { }
|
||||
|
||||
@ -268,15 +269,15 @@ namespace DepartmentBusinessLogic.BusinessLogics
|
||||
private void InitLogics()
|
||||
{
|
||||
|
||||
_recordLogic = DependencyManager.Instance.Resolve<OrderSyncHistoryRecordBusinessLogic>();
|
||||
_enviromentSettingLogic = DependencyManager.Instance.Resolve<EnviromentSettingBusinessLogic>();
|
||||
_groupsLogic = DependencyManager.Instance.Resolve<StudentGroupBusinessLogic>();
|
||||
_studentLogic = DependencyManager.Instance.Resolve<StudentBusinessLogic>();
|
||||
_orderLogic = DependencyManager.Instance.Resolve<OrderBusinessLogic>();
|
||||
_orderStudentRecordLogic = DependencyManager.Instance.Resolve<OrderStudentRecordBusinessLogic>();
|
||||
_userLogic = DependencyManager.Instance.Resolve<UserBusinessLogic>();
|
||||
_userRoleLogic = DependencyManager.Instance.Resolve<UserRoleBusinessLogic>();
|
||||
_roleLogic = DependencyManager.Instance.Resolve<RoleBusinessLogic>();
|
||||
_recordLogic = DependencyManager.Instance.Resolve<IOrderSyncHistoryRecordLogic>();
|
||||
_enviromentSettingLogic = DependencyManager.Instance.Resolve<IEnviromentSettingLogic>();
|
||||
_groupsLogic = DependencyManager.Instance.Resolve<IStudentGroupLogic>();
|
||||
_studentLogic = DependencyManager.Instance.Resolve<IStudentLogic>();
|
||||
_orderLogic = DependencyManager.Instance.Resolve<IOrderLogic>();
|
||||
_orderStudentRecordLogic = DependencyManager.Instance.Resolve<IOrderStudentRecordLogic>();
|
||||
_userLogic = DependencyManager.Instance.Resolve<IUserLogic>();
|
||||
_userRoleLogic = DependencyManager.Instance.Resolve<IUserRoleLogic>();
|
||||
_roleLogic = DependencyManager.Instance.Resolve<IRoleLogic>();
|
||||
}
|
||||
|
||||
private EnviromentSettingViewModel GetAddress(OrderSyncHistoryViewModel history)
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями историй синхронизации приказов
|
||||
/// </summary>
|
||||
public class OrderSyncHistoryRecordBusinessLogic : GenericBusinessLogic<OrderSyncHistoryRecordGetBindingModel, OrderSyncHistoryRecordSetBindingModel, OrderSyncHistoryRecordListViewModel, OrderSyncHistoryRecordViewModel>, IOrderSyncHistoryRecordLogic
|
||||
{
|
||||
public OrderSyncHistoryRecordBusinessLogic(IOrderSyncHistoryRecordService service) : base(service, "Синхронизация Приказов", AccessOperation.СинхронизацияПриказов) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с должностями
|
||||
/// </summary>
|
||||
public class PostBusinessLogic : GenericBusinessLogic<PostGetBindingModel, PostSetBindingModel, PostListViewModel, PostViewModel>, IPostLogic
|
||||
{
|
||||
public PostBusinessLogic(IPostService service) : base(service, "Должности", AccessOperation.Сотрудники) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со студентами
|
||||
/// </summary>
|
||||
public class StudentBusinessLogic : GenericBusinessLogic<StudentGetBindingModel, StudentSetBindingModel, StudentListViewModel, StudentViewModel>, IStudentLogic
|
||||
{
|
||||
public StudentBusinessLogic(IStudentService service) : base(service, "Студенты", AccessOperation.Студенты) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учебными группами
|
||||
/// </summary>
|
||||
public class StudentGroupBusinessLogic : GenericBusinessLogic<StudentGroupGetBindingModel, StudentGroupSetBindingModel, StudentGroupListViewModel, StudentGroupViewModel>, IStudentGroupLogic
|
||||
{
|
||||
public StudentGroupBusinessLogic(IStudentGroupService service) : base(service, "Учебные Группы", AccessOperation.УчебныеГруппы) { }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using DepartmentContract.Services.IGenericEntityService;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с нормами времени
|
||||
/// </summary>
|
||||
public class TimeNormBusinessLogic : GenericBusinessLogic<TimeNormGetBindingModel, TimeNormSetBindingModel, TimeNormListViewModel, TimeNormViewModel>, ITimeNormLogic
|
||||
{
|
||||
public TimeNormBusinessLogic(ITimeNormService service) : base(service, "Нормы Времени", AccessOperation.НормыВремени) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с цчеными степенями
|
||||
/// </summary>
|
||||
public class LecturerAcademicDegreeBusinessLogic : GenericBusinessLogic<LecturerAcademicDegreeGetBindingModel, LecturerAcademicDegreeSetBindingModel, LecturerAcademicDegreeListViewModel, LecturerAcademicDegreeViewModel>
|
||||
{
|
||||
public LecturerAcademicDegreeBusinessLogic(ILecturerAcademicDegreeService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учеными званиями
|
||||
/// </summary>
|
||||
public class LecturerAcademicRankBusinessLogic : GenericBusinessLogic<LecturerAcademicRankGetBindingModel, LecturerAcademicRankSetBindingModel, LecturerAcademicRankListViewModel, LecturerAcademicRankViewModel>
|
||||
{
|
||||
public LecturerAcademicRankBusinessLogic(ILecturerAcademicRankService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с преподавателями
|
||||
/// </summary>
|
||||
public class LecturerBusinessLogic : GenericBusinessLogic<LecturerGetBindingModel, LecturerSetBindingModel, LecturerListViewModel, LecturerViewModel>
|
||||
{
|
||||
public LecturerBusinessLogic(ILecturerService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со связями преподавателей и должностей
|
||||
/// </summary>
|
||||
public class LecturerPostBusinessLogic : GenericBusinessLogic<LecturerPostGetBindingModel, LecturerPostSetBindingModel, LecturerPostListViewModel, LecturerPostViewModel>
|
||||
{
|
||||
public LecturerPostBusinessLogic(ILecturerPostService service) : base(service, "Преподаватели", AccessOperation.Преподаватели) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с приказами
|
||||
/// </summary>
|
||||
public class OrderBusinessLogic : GenericBusinessLogic<OrderGetBindingModel, OrderSetBindingModel, OrderListViewModel, OrderViewModel>
|
||||
{
|
||||
public OrderBusinessLogic(IOrderService service) : base(service, "Приказы", AccessOperation.Приказы) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями историй синхронизации приказов
|
||||
/// </summary>
|
||||
public class OrderSyncHistoryRecordBusinessLogic : GenericBusinessLogic<OrderSyncHistoryRecordGetBindingModel, OrderSyncHistoryRecordSetBindingModel, OrderSyncHistoryRecordListViewModel, OrderSyncHistoryRecordViewModel>
|
||||
{
|
||||
public OrderSyncHistoryRecordBusinessLogic(IOrderSyncHistoryRecordService service) : base(service, "Синхронизация Приказов", AccessOperation.СинхронизацияПриказов) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с должностями
|
||||
/// </summary>
|
||||
public class PostBusinessLogic : GenericBusinessLogic<PostGetBindingModel, PostSetBindingModel, PostListViewModel, PostViewModel>
|
||||
{
|
||||
public PostBusinessLogic(IPostService service) : base(service, "Должности", AccessOperation.Сотрудники) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со студентами
|
||||
/// </summary>
|
||||
public class StudentBusinessLogic : GenericBusinessLogic<StudentGetBindingModel, StudentSetBindingModel, StudentListViewModel, StudentViewModel>
|
||||
{
|
||||
public StudentBusinessLogic(IStudentService service) : base(service, "Студенты", AccessOperation.Студенты) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учебными группами
|
||||
/// </summary>
|
||||
public class StudentGroupBusinessLogic : GenericBusinessLogic<StudentGroupGetBindingModel, StudentGroupSetBindingModel, StudentGroupListViewModel, StudentGroupViewModel>
|
||||
{
|
||||
public StudentGroupBusinessLogic(IStudentGroupService service) : base(service, "Учебные Группы", AccessOperation.УчебныеГруппы) { }
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using DepartmentBusinessLogic.Interfaces;
|
||||
using DepartmentBusinessLogic.ViewModels;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Enums;
|
||||
|
||||
namespace DepartmentBusinessLogic.BusinessLogics
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с нормами времени
|
||||
/// </summary>
|
||||
public class TimeNormBusinessLogic : GenericBusinessLogic<TimeNormGetBindingModel, TimeNormSetBindingModel, TimeNormListViewModel, TimeNormViewModel>
|
||||
{
|
||||
public TimeNormBusinessLogic(ITimeNormService service) : base(service, "Нормы Времени", AccessOperation.НормыВремени) { }
|
||||
}
|
||||
}
|
@ -5,7 +5,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Security\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
|
||||
<ProjectReference Include="..\..\Security\SecurityContract\SecurityContract.csproj" />
|
||||
<ProjectReference Include="..\DepartmentContract\DepartmentContract.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
|
@ -0,0 +1,46 @@
|
||||
using DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic
|
||||
{
|
||||
public class DepartmentLogicDependencyRegistration : IImplementationExtension
|
||||
{
|
||||
public void RegisterServices()
|
||||
{
|
||||
DependencyManager.Instance.RegisterType<IPostLogic, PostBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IEmployeeLogic, EmployeeBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<IEmployeePostLogic, EmployeePostBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IClassroomLogic, ClassroomBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IDisciplineBlockLogic, DisciplineBlockBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<IDisciplineLogic, DisciplineBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<ILecturerAcademicDegreeLogic, LecturerAcademicDegreeBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<ILecturerAcademicRankLogic, LecturerAcademicRankBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<ILecturerLogic, LecturerBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<ILecturerPostLogic, LecturerPostBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IEducationDirectionLogic, EducationDirectionBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<ITimeNormLogic, TimeNormBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IAcademicPlanLogic, AcademicPlanBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<IAcademicPlanRecordLogic, AcademicPlanRecordBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<IAcademicPlanRecordTimeNormHourLogic, AcademicPlanRecordTimeNormHourBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IStudentGroupLogic, StudentGroupBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IStudentLogic, StudentBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IOrderLogic, OrderBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<IOrderStudentRecordLogic, OrderStudentRecordBusinessLogic>();
|
||||
|
||||
DependencyManager.Instance.RegisterType<IOrderSyncHistoryLogic, OrderSyncHistoryBusinessLogic>();
|
||||
DependencyManager.Instance.RegisterType<IOrderSyncHistoryRecordLogic, OrderSyncHistoryRecordBusinessLogic>();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение записей учебного плана
|
||||
/// </summary>
|
||||
public interface IAcademicPlanRecordService : IGenericEntityService<AcademicPlanRecordGetBindingModel, AcademicPlanRecordSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение часов нагрузки записи чебного плана
|
||||
/// </summary>
|
||||
public interface IAcademicPlanRecordTimeNormHourService : IGenericEntityService<AcademicPlanRecordTimeNormHourGetBindingModel, AcademicPlanRecordTimeNormHourSetBindingModel> { }
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
using ToolsModule.Models;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение учебных планов
|
||||
/// </summary>
|
||||
public interface IAcademicPlanService : IGenericEntityService<AcademicPlanGetBindingModel, AcademicPlanSetBindingModel>
|
||||
{
|
||||
/// <summary>
|
||||
/// Загрузка учебного плана
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
public OperationResultModel LoadPlx(AcademicPlanLoadPlxModel model);
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение аудиторий
|
||||
/// </summary>
|
||||
public interface IClassroomService : IGenericEntityService<ClassroomGetBindingModel, ClassroomSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение блоков дисциплин
|
||||
/// </summary>
|
||||
public interface IDisciplineBlockService : IGenericEntityService<DisciplineBlockGetBindingModel, DisciplineBlockSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение дисциплин
|
||||
/// </summary>
|
||||
public interface IDisciplineService : IGenericEntityService<DisciplineGetBindingModel, DisciplineSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение нправлений обучений
|
||||
/// </summary>
|
||||
public interface IEducationDirectionService : IGenericEntityService<EducationDirectionGetBindingModel, EducationDirectionSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение связей сотрудников и должностей
|
||||
/// </summary>
|
||||
public interface IEmployeePostService : IGenericEntityService<EmployeePostGetBindingModel, EmployeePostSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение сотрудников
|
||||
/// </summary>
|
||||
public interface IEmployeeService : IGenericEntityService<EmployeeGetBindingModel, EmployeeSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение ученых степеней преподавателей
|
||||
/// </summary>
|
||||
public interface ILecturerAcademicDegreeService : IGenericEntityService<LecturerAcademicDegreeGetBindingModel, LecturerAcademicDegreeSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение ученых званий преподавателей
|
||||
/// </summary>
|
||||
public interface ILecturerAcademicRankService : IGenericEntityService<LecturerAcademicRankGetBindingModel, LecturerAcademicRankSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение должностей преподавателей
|
||||
/// </summary>
|
||||
public interface ILecturerPostService : IGenericEntityService<LecturerPostGetBindingModel, LecturerPostSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение преподавателей
|
||||
/// </summary>
|
||||
public interface ILecturerService : IGenericEntityService<LecturerGetBindingModel, LecturerSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение приказов
|
||||
/// </summary>
|
||||
public interface IOrderService : IGenericEntityService<OrderGetBindingModel, OrderSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение записей приказов по студентам
|
||||
/// </summary>
|
||||
public interface IOrderStudentRecordService : IGenericEntityService<OrderStudentRecordGetBindingModel, OrderStudentRecordSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение записей историй синхронизации приказов
|
||||
/// </summary>
|
||||
public interface IOrderSyncHistoryRecordService : IGenericEntityService<OrderSyncHistoryRecordGetBindingModel, OrderSyncHistoryRecordSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение историй синхронизации приказов
|
||||
/// </summary>
|
||||
public interface IOrderSyncHistoryService : IGenericEntityService<OrderSyncHistoryGetBindingModel, OrderSyncHistorySetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение должностей
|
||||
/// </summary>
|
||||
public interface IPostService : IGenericEntityService<PostGetBindingModel, PostSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение учебных групп
|
||||
/// </summary>
|
||||
public interface IStudentGroupService : IGenericEntityService<StudentGroupGetBindingModel, StudentGroupSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение студентов
|
||||
/// </summary>
|
||||
public interface IStudentService : IGenericEntityService<StudentGetBindingModel, StudentSetBindingModel> { }
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
using DepartmentBusinessLogic.BindingModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentBusinessLogic.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Хранение норм времени
|
||||
/// </summary>
|
||||
public interface ITimeNormService : IGenericEntityService<TimeNormGetBindingModel, TimeNormSetBindingModel> { }
|
||||
}
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение учебного года
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение записи учебного плана
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение часов по норме времени для записи учебного плана
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение аудитории
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение дисциплины
|
@ -2,7 +2,7 @@
|
||||
using ToolsModule.BindingModels;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение блока дисциплин
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение направления обучения
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение сотрудника
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение связи сотрудника с должностью
|
@ -2,7 +2,7 @@
|
||||
using ToolsModule.BindingModels;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение ученой степени преподавателя
|
@ -1,9 +1,8 @@
|
||||
using CoreModels.ModelsDepartment;
|
||||
using ToolsModule.Attributes;
|
||||
using ToolsModule.BindingModels;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using ToolsModule.BindingModels;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение ученого звания преподавателя
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение преподавателя
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение связи преподавателя с должностью
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение приказа
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение записи приказа по студенту
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение истории синхронизации приказов
|
@ -3,7 +3,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение записи истории синхронизации приказов
|
@ -2,7 +2,7 @@
|
||||
using ToolsModule.BindingModels;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение должности сотрудника
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение студента
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение студенческой группы
|
@ -4,7 +4,7 @@ using ToolsModule.BindingModels;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DepartmentBusinessLogic.BindingModels
|
||||
namespace DepartmentContract.BindingModels
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение нормы времени
|
@ -0,0 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Common\CoreModels\CoreModels.csproj" />
|
||||
<ProjectReference Include="..\..\Common\ToolsModule\ToolsModule.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -0,0 +1,14 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учебными планами
|
||||
/// </summary>
|
||||
public interface IAcademicPlanLogic : IGenericEntityLogic<AcademicPlanGetBindingModel, AcademicPlanSetBindingModel, AcademicPlanListViewModel, AcademicPlanViewModel>
|
||||
{
|
||||
bool LoadPlx(AcademicPlanLoadPlxModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями учебного плана
|
||||
/// </summary>
|
||||
public interface IAcademicPlanRecordLogic : IGenericEntityLogic<AcademicPlanRecordGetBindingModel, AcademicPlanRecordSetBindingModel, AcademicPlanRecordListViewModel, AcademicPlanRecordViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с часами нагрузок записей учебных планов
|
||||
/// </summary>
|
||||
public interface IAcademicPlanRecordTimeNormHourLogic : IGenericEntityLogic<AcademicPlanRecordTimeNormHourGetBindingModel, AcademicPlanRecordTimeNormHourSetBindingModel, AcademicPlanRecordTimeNormHourListViewModel, AcademicPlanRecordTimeNormHourViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с аудиториями
|
||||
/// </summary>
|
||||
public interface IClassroomLogic : IGenericEntityLogic<ClassroomGetBindingModel, ClassroomSetBindingModel, ClassroomListViewModel, ClassroomViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с блоками дисциплин
|
||||
/// </summary>
|
||||
public interface IDisciplineBlockLogic : IGenericEntityLogic<DisciplineBlockGetBindingModel, DisciplineBlockSetBindingModel, DisciplineBlockListViewModel, DisciplineBlockViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с дисциплинами
|
||||
/// </summary>
|
||||
public interface IDisciplineLogic : IGenericEntityLogic<DisciplineGetBindingModel, DisciplineSetBindingModel, DisciplineListViewModel, DisciplineViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с направлениями обучений
|
||||
/// </summary>
|
||||
public interface IEducationDirectionLogic : IGenericEntityLogic<EducationDirectionGetBindingModel, EducationDirectionSetBindingModel, EducationDirectionListViewModel, EducationDirectionViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с сотрудниками
|
||||
/// </summary>
|
||||
public interface IEmployeeLogic : IGenericEntityLogic<EmployeeGetBindingModel, EmployeeSetBindingModel, EmployeeListViewModel, EmployeeViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со связями сотрудников и должностей
|
||||
/// </summary>
|
||||
public interface IEmployeePostLogic : IGenericEntityLogic<EmployeePostGetBindingModel, EmployeePostSetBindingModel, EmployeePostListViewModel, EmployeePostViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с цчеными степенями
|
||||
/// </summary>
|
||||
public interface ILecturerAcademicDegreeLogic : IGenericEntityLogic<LecturerAcademicDegreeGetBindingModel, LecturerAcademicDegreeSetBindingModel, LecturerAcademicDegreeListViewModel, LecturerAcademicDegreeViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с учеными званиями
|
||||
/// </summary>
|
||||
public interface ILecturerAcademicRankLogic : IGenericEntityLogic<LecturerAcademicRankGetBindingModel, LecturerAcademicRankSetBindingModel, LecturerAcademicRankListViewModel, LecturerAcademicRankViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с преподавателями
|
||||
/// </summary>
|
||||
public interface ILecturerLogic : IGenericEntityLogic<LecturerGetBindingModel, LecturerSetBindingModel, LecturerListViewModel, LecturerViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы со связями преподавателей и должностей
|
||||
/// </summary>
|
||||
public interface ILecturerPostLogic : IGenericEntityLogic<LecturerPostGetBindingModel, LecturerPostSetBindingModel, LecturerPostListViewModel, LecturerPostViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с приказами
|
||||
/// </summary>
|
||||
public interface IOrderLogic : IGenericEntityLogic<OrderGetBindingModel, OrderSetBindingModel, OrderListViewModel, OrderViewModel> { }
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с записями приказов
|
||||
/// </summary>
|
||||
public interface IOrderStudentRecordLogic : IGenericEntityLogic<OrderStudentRecordGetBindingModel, OrderStudentRecordSetBindingModel, OrderStudentRecordListViewModel, OrderStudentRecordViewModel> { }
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
using DepartmentContract.BindingModels;
|
||||
using DepartmentContract.ViewModels;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using ToolsModule.Interfaces;
|
||||
|
||||
namespace DepartmentContract.Logics.IGenericEntityLogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Логика работы с историями синхронизации приказов
|
||||
/// </summary>
|
||||
public interface IOrderSyncHistoryLogic : IGenericEntityLogic<OrderSyncHistoryGetBindingModel, OrderSyncHistorySetBindingModel, OrderSyncHistoryListViewModel, OrderSyncHistoryViewModel>
|
||||
{
|
||||
Task<bool> SyncOrders();
|
||||
|
||||
Task<bool> SyncStudentOrders(Guid studentId);
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user