mirror of
				https://github.com/D4M13N-D3V/comissions-app-core-api.git
				synced 2025-10-31 17:45:26 +00:00 
			
		
		
		
	test
This commit is contained in:
		
							parent
							
								
									7bd3d3366c
								
							
						
					
					
						commit
						5bc3e443a2
					
				| @ -56,7 +56,7 @@ public class DiscoveryController : Controller | ||||
|         if(seller==null) | ||||
|             return NotFound(); | ||||
|         var result = seller.ArtistPageSettings.ToModel(); | ||||
|         result.Artist = seller.ToModel(); | ||||
|         result.Artist = seller.ToModel();    | ||||
|         return Ok(result); | ||||
|     } | ||||
|      | ||||
|  | ||||
| @ -39,5 +39,5 @@ public class ArtistPageSettingsModel | ||||
|     public string HeaderColor { get; set; } | ||||
|     public string BackgroundColor { 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 Newtonsoft.Json; | ||||
| 
 | ||||
| namespace comissions.app.api.Models.Artist; | ||||
| 
 | ||||
| @ -7,6 +8,7 @@ public static class ArtistPageSettingsModelExtensions | ||||
|      | ||||
|     public static ArtistPageSettingsModel ToModel(this ArtistPageSettings sellerProfile) | ||||
|     { | ||||
|         Console.WriteLine(JsonConvert.SerializeObject(sellerProfile)); | ||||
|         return new ArtistPageSettingsModel() | ||||
|         { | ||||
|             BackgroundColor = sellerProfile.BackgroundColor, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Damien Ostler
						Damien Ostler