mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix: user
This commit is contained in:
parent
8071621afa
commit
112a60e470
@ -21,6 +21,7 @@ public class AdminArtistModel
|
|||||||
public int NumberOfAssets { get; set; }
|
public int NumberOfAssets { get; set; }
|
||||||
public int NumberOfPortfolio { get; set; }
|
public int NumberOfPortfolio { get; set; }
|
||||||
public double? AverageRating { get; set; }
|
public double? AverageRating { get; set; }
|
||||||
|
public User User { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class AdminArtistModelExtensions
|
public static class AdminArtistModelExtensions
|
||||||
@ -38,6 +39,7 @@ public static class AdminArtistModelExtensions
|
|||||||
SocialMediaLink4 = artist.SocialMediaLink4,
|
SocialMediaLink4 = artist.SocialMediaLink4,
|
||||||
RequestGuidelines = artist.RequestGuidelines,
|
RequestGuidelines = artist.RequestGuidelines,
|
||||||
Name = artist.Name,
|
Name = artist.Name,
|
||||||
|
User = artist.User,
|
||||||
NumberOfRequests = artist.Requests.Count,
|
NumberOfRequests = artist.Requests.Count,
|
||||||
NumberOfReviews = artist.Requests.Count(x => x.Reviewed),
|
NumberOfReviews = artist.Requests.Count(x => x.Reviewed),
|
||||||
NumberOfPaid = artist.Requests.Count(x => x.Paid),
|
NumberOfPaid = artist.Requests.Count(x => x.Paid),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user