mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Adding service layer testing (#151)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Domain.Entities;
|
||||
|
||||
namespace Service.Auth.Auth;
|
||||
namespace Service.Auth;
|
||||
|
||||
public interface ILoginService
|
||||
{
|
||||
@@ -1,7 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using Domain.Entities;
|
||||
|
||||
namespace Service.Auth.Auth;
|
||||
namespace Service.Auth;
|
||||
|
||||
public interface IRegisterService
|
||||
{
|
||||
@@ -1,10 +1,9 @@
|
||||
using System.Threading.Tasks;
|
||||
using Domain.Entities;
|
||||
using Domain.Exceptions;
|
||||
using Infrastructure.PasswordHashing;
|
||||
using Infrastructure.Repository.Auth;
|
||||
|
||||
namespace Service.Auth.Auth;
|
||||
namespace Service.Auth;
|
||||
|
||||
public class LoginService(
|
||||
IAuthRepository authRepo,
|
||||
@@ -1,13 +1,11 @@
|
||||
using System.Threading.Tasks;
|
||||
using Domain.Entities;
|
||||
using Domain.Exceptions;
|
||||
using Infrastructure.Email;
|
||||
using Infrastructure.Email.Templates;
|
||||
using Infrastructure.Email.Templates.Rendering;
|
||||
using Infrastructure.PasswordHashing;
|
||||
using Infrastructure.Repository.Auth;
|
||||
|
||||
namespace Service.Auth.Auth;
|
||||
namespace Service.Auth;
|
||||
|
||||
public class RegisterService(
|
||||
IAuthRepository authRepo,
|
||||
Reference in New Issue
Block a user