survey-webapp/SurveyBackend/SurveyBackend.Core/Services/IAuthorizationService.cs
shept 55e82425a9 say NO to try-catch in controllers
- added ExceptionsMiddleware.cs
- added more Exception types
- removed all exceptions logic in controllers
2025-04-18 15:15:32 +05:00

9 lines
No EOL
223 B
C#

using SurveyBackend.Core.Models;
namespace SurveyBackend.Core.Services;
public interface IAuthorizationService
{
public Task<string> LogInUser(string email, string password);
public Task RegisterUser(User user);
}