- added ExceptionsMiddleware.cs - added more Exception types - removed all exceptions logic in controllers
9 lines
No EOL
223 B
C#
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);
|
|
} |