mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
test
This commit is contained in:
parent
7bd3d3366c
commit
5bc3e443a2
@ -39,5 +39,5 @@ public class ArtistPageSettingsModel
|
|||||||
public string HeaderColor { get; set; }
|
public string HeaderColor { get; set; }
|
||||||
public string BackgroundColor { get; set; }
|
public string BackgroundColor { get; set; }
|
||||||
public string RequestButtonHoverTextColor { get; set; }
|
public string RequestButtonHoverTextColor { get; set; }
|
||||||
public ArtistModel Artist { get; set; }
|
public ArtistModel? Artist { get; set; }
|
||||||
}
|
}
|
@ -1,4 +1,5 @@
|
|||||||
using comissions.app.database.Entities;
|
using comissions.app.database.Entities;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace comissions.app.api.Models.Artist;
|
namespace comissions.app.api.Models.Artist;
|
||||||
|
|
||||||
@ -7,6 +8,7 @@ public static class ArtistPageSettingsModelExtensions
|
|||||||
|
|
||||||
public static ArtistPageSettingsModel ToModel(this ArtistPageSettings sellerProfile)
|
public static ArtistPageSettingsModel ToModel(this ArtistPageSettings sellerProfile)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine(JsonConvert.SerializeObject(sellerProfile));
|
||||||
return new ArtistPageSettingsModel()
|
return new ArtistPageSettingsModel()
|
||||||
{
|
{
|
||||||
BackgroundColor = sellerProfile.BackgroundColor,
|
BackgroundColor = sellerProfile.BackgroundColor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user