isempty property for appreviews
This commit is contained in:
@@ -62,6 +62,8 @@ namespace OnePeek.Api
|
||||
};
|
||||
});
|
||||
|
||||
result.IsEmpty = result.Reviews == null || !result.Reviews.Any();
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@ namespace OnePeek.Entities
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public bool IsEmpty { get; set; }
|
||||
|
||||
public DateTime? StoreDataModifiedDate { get; set; }
|
||||
|
||||
public StoreType StoreType { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user