* Refactor to accept multiple cultures * Add test * Move logic into service * Remember to complete scope * Move scope creation. * Add test * Close scope on early return * Handle invalid cultures with bad request * Handle valid cultures based on content * Change return type if a culture is required * Refactor content publishing service to have 1 unpublish method * Update tests * Return better error * Scope completes --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk>
7 lines
154 B
C#
7 lines
154 B
C#
namespace Umbraco.Cms.Api.Management.ViewModels.Document;
|
|
|
|
public class UnpublishDocumentRequestModel
|
|
{
|
|
public ISet<string>? Cultures { get; set; }
|
|
}
|