last ...
This commit is contained in:
+5
-5
@@ -14,7 +14,7 @@ using xModels.Dtos;
|
|||||||
using xWebinarService.Interfaces;
|
using xWebinarService.Interfaces;
|
||||||
using xWebinarService.Models.Dtos;
|
using xWebinarService.Models.Dtos;
|
||||||
|
|
||||||
namespace xWebinarService.Controller
|
namespace xWebinarService.Controllers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// a Controller base Class which implement based Actions to Provides Webinar Provider Access ...
|
/// a Controller base Class which implement based Actions to Provides Webinar Provider Access ...
|
||||||
@@ -197,14 +197,14 @@ namespace xWebinarService.Controller
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet("Ids")]
|
[HttpGet("Ids")]
|
||||||
public virtual async Task<ActionResult<IEnumerable<Guid>>> GetWebinarIds()
|
public virtual ActionResult<IEnumerable<Guid>> GetWebinarIds()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Do ...
|
// Do ...
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
var result = await WebinarProvider
|
var result = WebinarProvider
|
||||||
.GetWebinarIds();
|
.GetWebinarIds();
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -255,7 +255,7 @@ namespace xWebinarService.Controller
|
|||||||
/// <param name="query"></param>
|
/// <param name="query"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet("QueryIds")]
|
[HttpGet("QueryIds")]
|
||||||
public virtual async Task<ActionResult<XQueryResult<Guid>>> QueryWebinarIds(
|
public virtual ActionResult<XQueryResult<Guid>> QueryWebinarIds(
|
||||||
[FromQuery] XQuery query
|
[FromQuery] XQuery query
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -264,7 +264,7 @@ namespace xWebinarService.Controller
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
var result = await WebinarProvider
|
var result = WebinarProvider
|
||||||
.QueryWebinarIds(query);
|
.QueryWebinarIds(query);
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -14,7 +14,7 @@ using xWebinarService.Constants;
|
|||||||
using xWebinarService.Models.Dtos;
|
using xWebinarService.Models.Dtos;
|
||||||
using xWebinarService.Interfaces;
|
using xWebinarService.Interfaces;
|
||||||
|
|
||||||
namespace xWebinarService.Hub
|
namespace xWebinarService.Hubs
|
||||||
{
|
{
|
||||||
public class XWebinarHub : XBaseWebRTCHub
|
public class XWebinarHub : XBaseWebRTCHub
|
||||||
{
|
{
|
||||||
@@ -67,7 +67,7 @@ namespace xWebinarService.Interfaces
|
|||||||
/// Retrieve all Exists Webinar Ids ...
|
/// Retrieve all Exists Webinar Ids ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<IEnumerable<Guid>> GetWebinarIds();
|
IEnumerable<Guid> GetWebinarIds();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieve all Exists Webinars ...
|
/// Retrieve all Exists Webinars ...
|
||||||
@@ -87,7 +87,7 @@ namespace xWebinarService.Interfaces
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="query"></param>
|
/// <param name="query"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<XQueryResult<Guid>> QueryWebinarIds(XQuery query);
|
XQueryResult<Guid> QueryWebinarIds(XQuery query);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Remove Specified Webinar ...
|
/// Remove Specified Webinar ...
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ namespace xWebinarService.Interfaces
|
|||||||
/// Retrieve all Exists Webinar Ids ...
|
/// Retrieve all Exists Webinar Ids ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<ActionResult<IEnumerable<Guid>>> GetWebinarIds();
|
ActionResult<IEnumerable<Guid>> GetWebinarIds();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Query Webinars ...
|
/// Query Webinars ...
|
||||||
@@ -59,7 +59,7 @@ namespace xWebinarService.Interfaces
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="query"></param>
|
/// <param name="query"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
Task<ActionResult<XQueryResult<Guid>>> QueryWebinarIds([FromQuery] XQuery query);
|
ActionResult<XQueryResult<Guid>> QueryWebinarIds([FromQuery] XQuery query);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Remove Specified Webinar ...
|
/// Remove Specified Webinar ...
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ namespace xWebinarService.Providers
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Prepare Inner API Providers Device Dto ...
|
// Prepare Inner API Providers Device Dto ...
|
||||||
var device = await IdentityProvider.GetDevice();
|
var device = IdentityProvider.GetDevice();
|
||||||
var userInfo = await IdentityProvider.GetUserInfo(
|
var userInfo = await IdentityProvider.GetUserInfo(
|
||||||
device: device,
|
device: device,
|
||||||
userSelectByParam: model.OwnerId
|
userSelectByParam: model.OwnerId
|
||||||
@@ -131,7 +131,7 @@ namespace xWebinarService.Providers
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Retrieve User Info ...
|
// Retrieve User Info ...
|
||||||
var device = await IdentityProvider.GetDevice();
|
var device = IdentityProvider.GetDevice();
|
||||||
var userInfo = await IdentityProvider.GetUserInfo(
|
var userInfo = await IdentityProvider.GetUserInfo(
|
||||||
device: device,
|
device: device,
|
||||||
userSelectByParam: model.SubscriberId
|
userSelectByParam: model.SubscriberId
|
||||||
@@ -456,10 +456,10 @@ namespace xWebinarService.Providers
|
|||||||
/// Retrieve all Exists Webinar Ids ...
|
/// Retrieve all Exists Webinar Ids ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<IEnumerable<Guid>> GetWebinarIds()
|
public IEnumerable<Guid> GetWebinarIds()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
var result = await WebinarRepository.AsQueryable().SelectAsync(async l => l.Id);
|
var result = WebinarRepository.AsQueryable().Select(l => l.Id);
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
@@ -547,7 +547,7 @@ namespace xWebinarService.Providers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="query"></param>
|
/// <param name="query"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<XQueryResult<Guid>> QueryWebinarIds(XQuery query)
|
public XQueryResult<Guid> QueryWebinarIds(XQuery query)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Validate ...
|
// Validate ...
|
||||||
@@ -563,7 +563,7 @@ namespace xWebinarService.Providers
|
|||||||
//
|
//
|
||||||
// Since in Resourceable Entities we have to Search on Locales
|
// Since in Resourceable Entities we have to Search on Locales
|
||||||
// we Must Implement Senario Custom ...
|
// we Must Implement Senario Custom ...
|
||||||
var items = await GetWebinarIds();
|
var items = GetWebinarIds();
|
||||||
var totalItemsCount = items.Count();
|
var totalItemsCount = items.Count();
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -723,7 +723,7 @@ namespace xWebinarService.Providers
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Check User Exists ...
|
// Check User Exists ...
|
||||||
var device = await IdentityProvider.GetDevice();
|
var device = IdentityProvider.GetDevice();
|
||||||
XOpenActionUserInfoDto userInfo = null;
|
XOpenActionUserInfoDto userInfo = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -790,7 +790,7 @@ namespace xWebinarService.Providers
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Check User Exists ...
|
// Check User Exists ...
|
||||||
var device = await IdentityProvider.GetDevice();
|
var device = IdentityProvider.GetDevice();
|
||||||
XOpenActionUserInfoDto userInfo = null;
|
XOpenActionUserInfoDto userInfo = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,15 +24,17 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="xDashboard.xDataService" Version="1.0.0" />
|
<PackageReference Include="xDashboard.xDataService" Version="1.0.0" />
|
||||||
<PackageReference Include="xDashboard.xStringService" Version="1.0.0" />
|
<PackageReference Include="xDashboard.xStringService" Version="1.0.0" />
|
||||||
<PackageReference Include="xDashboard.xIdentityService" Version="1.0.0" />
|
<!-- <PackageReference Include="xDashboard.xIdentityService" Version="1.0.0" /> -->
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Local Dependencies -->
|
<!-- Local Dependencies -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="../xPushService/xPushService.csproj" />
|
<ProjectReference Include="../xPushService/xPushService.csproj" />
|
||||||
<!-- <ProjectReference Include="../xDataService/xDataService.csproj" />
|
<ProjectReference Include="../xIdentityService/xIdentityService.csproj" />
|
||||||
|
<!--
|
||||||
|
<ProjectReference Include="../xDataService/xDataService.csproj" />
|
||||||
<ProjectReference Include="../xStringService/xStringService.csproj" />
|
<ProjectReference Include="../xStringService/xStringService.csproj" />
|
||||||
<ProjectReference Include="../xIdentityService/xIdentityService.csproj" /> -->
|
-->
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user