Using a specific namespace for the abstraction

This commit is contained in:
Zoe Roux
2021-08-14 19:32:26 +02:00
parent fab9b8a5c7
commit cd73ea953b
156 changed files with 340 additions and 305 deletions
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Kyoo.Models;
using Kyoo.Abstractions.Models;
namespace Kyoo.Authentication.Models.DTO
{
@@ -34,7 +34,7 @@ namespace Kyoo.Authentication.Models.DTO
/// <returns></returns>
public User ToUser()
{
return new()
return new User
{
Slug = Utility.ToSlug(Username),
Username = Username,