complete transition of more editors; fix user editor
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using Raven.Client.Documents.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using zero.Core.Collections;
|
||||
using zero.Core.Entities;
|
||||
using zero.Core.Identity;
|
||||
@@ -13,5 +15,17 @@ namespace zero.Web.Controllers
|
||||
DefaultQuery = q => q.OrderByDescending(x => x.CreatedDate);
|
||||
PreviewTransform = (item, model) => model.Icon = "fth-globe";
|
||||
}
|
||||
|
||||
|
||||
public IList<Culture> GetAllCultures()
|
||||
{
|
||||
return Collection.GetAllCultures();
|
||||
}
|
||||
|
||||
|
||||
public IList<Culture> GetSupportedCultures()
|
||||
{
|
||||
return Collection.GetAllCultures(Options.SupportedLanguages);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user