Add relationships feature and EF migration
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
using AutoMapper;
|
||||
using RecNet.Application.Common.Interfaces;
|
||||
using RecNet.Application.Common.Security;
|
||||
using RecNet.Application.Profiles.Avatar;
|
||||
using RecNet.Application.Profiles.Login;
|
||||
using RecNet.Application.Profiles.Settings;
|
||||
using RecNet.Domain.Common;
|
||||
using RecNet.Domain.GameVersions;
|
||||
using RecNet.Domain.Profiles;
|
||||
using ProfileEntity = RecNet.Domain.Profiles.Profile;
|
||||
using AvatarEntity = RecNet.Domain.Profiles.Avatar;
|
||||
|
||||
namespace RecNet.Application.Profiles;
|
||||
|
||||
@@ -45,7 +49,7 @@ public class ProfileService(
|
||||
return null;
|
||||
|
||||
profile.SetAvatar(
|
||||
Avatar.Create(
|
||||
AvatarEntity.Create(
|
||||
command.OutfitSelections,
|
||||
command.SkinColor,
|
||||
command.HairColor
|
||||
|
||||
Reference in New Issue
Block a user