#478 pinterestlinks
This commit is contained in:
parent
b7a49214c5
commit
f667668aa3
@ -31,6 +31,7 @@ namespace RMuseum.Controllers
|
||||
/// comments
|
||||
/// recitations
|
||||
/// museumlinks
|
||||
/// pinterestlinks
|
||||
/// </param>
|
||||
/// <param name="paging"></param>
|
||||
/// <param name="userId"></param>
|
||||
@ -110,6 +111,14 @@ namespace RMuseum.Controllers
|
||||
pagedResult = res.Result;
|
||||
}
|
||||
break;
|
||||
case "pinterestlinks":
|
||||
{
|
||||
var res = await _service.GetApprovedPinterestLinksGroupedByDateAsync(paging, userId);
|
||||
if (!string.IsNullOrEmpty(res.ExceptionString))
|
||||
return BadRequest(res.ExceptionString);
|
||||
pagedResult = res.Result;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return BadRequest($"Invalid value for the paramater: dataType = {dataType}");
|
||||
}
|
||||
@ -133,6 +142,7 @@ namespace RMuseum.Controllers
|
||||
/// comments
|
||||
/// recitations
|
||||
/// museumlinks
|
||||
/// pinterestlinks
|
||||
/// </param>
|
||||
/// <param name="paging"></param>
|
||||
/// <param name="day"></param>
|
||||
@ -213,6 +223,14 @@ namespace RMuseum.Controllers
|
||||
pagedResult = res.Result;
|
||||
}
|
||||
break;
|
||||
case "pinterestlinks":
|
||||
{
|
||||
var res = await _service.GetApprovedPinterestLinksGroupedByUserAsync(paging, day, userId);
|
||||
if (!string.IsNullOrEmpty(res.ExceptionString))
|
||||
return BadRequest(res.ExceptionString);
|
||||
pagedResult = res.Result;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return BadRequest($"Invalid value for the paramater: dataType = {dataType}");
|
||||
}
|
||||
@ -237,6 +255,7 @@ namespace RMuseum.Controllers
|
||||
/// comments
|
||||
/// recitations
|
||||
/// museumlinks
|
||||
/// pinterestlinks
|
||||
/// </param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("{dataType}")]
|
||||
@ -313,6 +332,14 @@ namespace RMuseum.Controllers
|
||||
result = res.Result;
|
||||
}
|
||||
break;
|
||||
case "pinterestlinks":
|
||||
{
|
||||
var res = await _service.GetApprovedPinterestLinksSummedUpStatsAsync();
|
||||
if (!string.IsNullOrEmpty(res.ExceptionString))
|
||||
return BadRequest(res.ExceptionString);
|
||||
result = res.Result;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return BadRequest($"Invalid value for the paramater: dataType = {dataType}");
|
||||
}
|
||||
|
||||
@ -776,6 +776,7 @@
|
||||
comments
|
||||
recitations
|
||||
museumlinks
|
||||
pinterestlinks
|
||||
</param>
|
||||
<param name="paging"></param>
|
||||
<param name="userId"></param>
|
||||
@ -795,6 +796,7 @@
|
||||
comments
|
||||
recitations
|
||||
museumlinks
|
||||
pinterestlinks
|
||||
</param>
|
||||
<param name="paging"></param>
|
||||
<param name="day"></param>
|
||||
@ -815,6 +817,7 @@
|
||||
comments
|
||||
recitations
|
||||
museumlinks
|
||||
pinterestlinks
|
||||
</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
@ -16124,6 +16127,29 @@
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.IContributionStatsService.GetApprovedPinterestLinksGroupedByDateAsync(RSecurityBackend.Models.Generic.PagingParameterModel,System.Nullable{System.Guid})">
|
||||
<summary>
|
||||
approved pinterest links daily
|
||||
</summary>
|
||||
<param name="paging"></param>
|
||||
<param name="userId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.IContributionStatsService.GetApprovedPinterestLinksGroupedByUserAsync(RSecurityBackend.Models.Generic.PagingParameterModel,System.Nullable{System.DateTime},System.Nullable{System.Guid})">
|
||||
<summary>
|
||||
approved pinterest links grouped by user
|
||||
</summary>
|
||||
<param name="paging"></param>
|
||||
<param name="day"></param>
|
||||
<param name="userId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:RMuseum.Services.IContributionStatsService.GetApprovedPinterestLinksSummedUpStatsAsync">
|
||||
<summary>
|
||||
summed up stats of approved pinterest links
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:RMuseum.Services.IDonationService">
|
||||
<summary>
|
||||
donation service
|
||||
|
||||
Loading…
Reference in New Issue
Block a user