Added models for presentation layer with data annotations
This commit is contained in:
		| @@ -1,9 +1,11 @@ | ||||
| namespace ApplicationLayer.Services.AuthServices.LoginService; | ||||
| using ApplicationLayer.Services.AuthServices.Requests; | ||||
|  | ||||
| namespace ApplicationLayer.Services.AuthServices.LoginService; | ||||
|  | ||||
| /// Handles login requests | ||||
| public interface ILoginService | ||||
| { | ||||
|     /// Handle login request | ||||
|     /// <returns>JWT-token</returns> | ||||
|     Task<string> LoginAsync(string email, string password, CancellationToken cancellationToken); | ||||
| } | ||||
|     Task<string> LoginAsync(LoginRequest request, CancellationToken cancellationToken); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user