base logic #5

Merged
mfnefd merged 25 commits from registration into main 2024-06-10 12:27:55 +04:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit a2b58598a6 - Show all commits

View File

@ -3,6 +3,7 @@ using Contracts.SearchModels;
using Contracts.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -11,7 +12,7 @@ namespace Contracts.BusinessLogicContracts
{
public interface IUserLogic
{
UserViewModel Login(UserBindingModel model);
UserViewModel Login(string email, string password);
UserViewModel Create(UserBindingModel model);

View File

@ -12,7 +12,6 @@ namespace Contracts.ViewModels
public string FirstName { get; set; } = string.Empty;
public string SecondName { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string PasswordHash { get; set; } = string.Empty;
public DateTime Birthday { get; set; }
public RoleViewModel Role { get; set; } = null!;
}