diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml index 8a3878ec..e774747a 100644 --- a/RMuseum/RMuseum.xml +++ b/RMuseum/RMuseum.xml @@ -3598,6 +3598,26 @@ Category Word Count Summaries + + + tajik poets + + + + + tajik cats + + + + + tajik poems + + + + + tajik verse + + @@ -9740,6 +9760,66 @@ active + + + id + + + + + tajik title + + + + + additional descripion or note in Tajik + + + + + id + + + + + title + + + + + verses text + + + + + verses text as html (ganjoor.net format) + + + + + id + + + + + tajik nick name + + + + + additional descripion or note in Tajik + + + + + id + + + + + tajik text + + ganjoor TOC options @@ -10554,16 +10634,6 @@ category map name - - - tajik title - - - - - additional descripion or note in Tajik - - Next Category without Ancestors/Children/Poems info @@ -11304,11 +11374,6 @@ poem is claimed by multiple poets - - - tajik title - - poem correction view model @@ -11769,11 +11834,6 @@ excerpt text - - - tajik title - - whole poem sections @@ -12050,16 +12110,6 @@ death place longitude - - - tajik nick name - - - - - additional descripion or note in Tajik - - report comment view model @@ -12483,11 +12533,6 @@ couplet summary - - - tajik text - - Ganjoor Poem related music track model @@ -18220,6 +18265,9 @@ IGanjoorService implementation + + IGanjoorService implementation + @@ -19205,6 +19253,12 @@ transilerate verse data from Persian to Tajiki + + + tajik poets + + + Get List of poets diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService_Tajik.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService_Tajik.cs new file mode 100644 index 00000000..261604f8 --- /dev/null +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService_Tajik.cs @@ -0,0 +1,30 @@ +using Microsoft.EntityFrameworkCore; +using System; +using RMuseum.Models.Ganjoor; +using System.Threading.Tasks; +using RSecurityBackend.Models.Generic; + +namespace RMuseum.Services.Implementation +{ + /// + /// IGanjoorService implementation + /// + public partial class GanjoorService : IGanjoorService + { + /// + /// tajik poets + /// + /// + public async Task> GetTajikPoetsAsync() + { + try + { + return new RServiceResult(await _context.TajikPoets.AsNoTracking().ToArrayAsync()); + } + catch (Exception exp) + { + return new RServiceResult(null, exp.ToString()); + } + } + } +} \ No newline at end of file