DepartmentProject/DepartmentPortal/Security/SecurityContract/Logics/IGenericEntityLogic/IUserLogic.cs

20 lines
810 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SecurityContract.BindingModels;
using SecurityContract.ViewModels;
using ToolsModule.ManagmentEntity;
namespace SecurityContract.Logics.IGenericEntityLogic
{
/// <summary>
/// Логика работы с пользователями
/// </summary>
public interface IUserLogic : IGenericEntityLogic<UserGetBindingModel, UserSetBindingModel, UserListViewModel, UserViewModel>
{
/// <summary>
/// Метод получения или создания пользователя для студента/сотрудника/преподавателя
/// </summary>
/// <param name="model"></param>
/// <param name="password"></param>
/// <returns></returns>
UserViewModel GetOrCreateUser(UserGetBindingModel model, string password);
}
}