survey-webapp/SurveyBackend/SurveyBackend.Core/Services/IUserService.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
203 B
C#

using SurveyBackend.Core.Models;
namespace SurveyBackend.Core.Services;
public interface IUserService
{
public Task<User> GetUserByEmail(string email);
public Task CreateUserAsync(User user);
}