last temparory works on Module ...

This commit is contained in:
2025-11-04 18:10:23 +03:30
parent 71f695baf8
commit 330201023b
2 changed files with 60 additions and 0 deletions
+59
View File
@@ -0,0 +1,59 @@
using System.Threading.Tasks;
using xIdentityService.Interfaces;
using xWebinarService.Interfaces.Entities;
using xWebinarService.Models.Dtos;
using xWebinarService.Models.Entities;
namespace xWebinarService.Providers
{
/// <summary>
/// Implement all Webinar Related Things here ...
/// </summary>
public class XWebinarProvider
{
//
#region Props ...
public IXIdentityProvider IdentityProvider;
public IXWebinarRepository WebinarRepository;
public IXWebinarSubscriberRepository WebinarSubscriberRepository;
#endregion;
//
#region Constructor ...
public XWebinarProvider(
IXIdentityProvider identityProvider,
IXWebinarRepository webinarRepository,
IXWebinarSubscriberRepository webinarSubscriberRepository
)
{
//
this.IdentityProvider = identityProvider;
this.WebinarRepository = webinarRepository;
this.WebinarSubscriberRepository = webinarSubscriberRepository;
}
#endregion
//
#region Tools ...
public async Task<XWebinarDto> ToXWebinarDto(XWebinar model)
{
//
XWebinarDto result = null;
//
result.Id = model.Id;
result.OwnerId = model.OwnerId;
result.CreatedOn = model.CreatedOn;
//
// Fill Resources ...
//
// Fill Owner ...
//
return result;
}
#endregion
}
}
+1
View File
@@ -24,6 +24,7 @@
<ItemGroup>
<ProjectReference Include="../xDataService/xDataService.csproj" />
<ProjectReference Include="../xPushService/xPushService.csproj" />
<ProjectReference Include="../xIdentityService/xIdentityService.csproj" />
</ItemGroup>
</Project>