docs: #293 making BreakPoemAsync longrunningjob friendly
This commit is contained in:
parent
ca763bd49a
commit
3ee987824b
@ -12652,15 +12652,6 @@
|
||||
<param name="userId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.Implementation.GanjoorService.BreakPoemAsync(System.Int32,System.Int32,System.Guid)">
|
||||
<summary>
|
||||
break a poem from a verse forward
|
||||
</summary>
|
||||
<param name="poemId"></param>
|
||||
<param name="vOrder"></param>
|
||||
<param name="userId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.Implementation.GanjoorService.GetCenturiesAsync">
|
||||
<summary>
|
||||
get centuries with published poets
|
||||
@ -13341,6 +13332,15 @@
|
||||
<param name="pageData"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.Implementation.GanjoorService.BreakPoemAsync(System.Int32,System.Int32,System.Guid)">
|
||||
<summary>
|
||||
break a poem from a verse forward
|
||||
</summary>
|
||||
<param name="poemId"></param>
|
||||
<param name="vOrder"></param>
|
||||
<param name="userId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.Implementation.GanjoorService.GetOlderVersionsOfPage(System.Int32)">
|
||||
<summary>
|
||||
return page modifications history
|
||||
|
||||
@ -7,6 +7,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using DNTPersianUtils.Core;
|
||||
using RMuseum.Models.Ganjoor.ViewModels;
|
||||
using RMuseum.DbContext;
|
||||
|
||||
namespace RMuseum.Services.Implementation
|
||||
{
|
||||
@ -15,14 +16,7 @@ namespace RMuseum.Services.Implementation
|
||||
/// </summary>
|
||||
public partial class GanjoorService : IGanjoorService
|
||||
{
|
||||
/// <summary>
|
||||
/// break a poem from a verse forward
|
||||
/// </summary>
|
||||
/// <param name="poemId"></param>
|
||||
/// <param name="vOrder"></param>
|
||||
/// <param name="userId"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<RServiceResult<int>> BreakPoemAsync(int poemId, int vOrder, Guid userId)
|
||||
public async Task<RServiceResult<int>> _BreakPoemAsync(RMuseumDbContext context, int poemId, int vOrder, Guid userId)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@ -2454,6 +2454,18 @@ namespace RMuseum.Services.Implementation
|
||||
return await _UpdatePageAsync(_context, id, editingUserId, pageData, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// break a poem from a verse forward
|
||||
/// </summary>
|
||||
/// <param name="poemId"></param>
|
||||
/// <param name="vOrder"></param>
|
||||
/// <param name="userId"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<RServiceResult<int>> BreakPoemAsync(int poemId, int vOrder, Guid userId)
|
||||
{
|
||||
return await _BreakPoemAsync(_context, poemId, vOrder, userId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// return page modifications history
|
||||
/// </summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user