Apply Some Fix on Webinar Subscriber Dto Fills ...
This commit is contained in:
@@ -20,6 +20,7 @@ namespace xWebinarService.Models.Dtos
|
||||
public class XWebinarSubscriberDto : XBaseDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Guid WebinarId { get; set; }
|
||||
public string SubscriberId { get; set; }
|
||||
public XPersonDto Subscriber { get; set; }
|
||||
public DateTime SubscribedOn { get; set; }
|
||||
|
||||
@@ -145,6 +145,7 @@ namespace xWebinarService.Providers
|
||||
var result = new XWebinarSubscriberDto
|
||||
{
|
||||
Id = model.Id,
|
||||
WebinarId = model.WebinarId,
|
||||
SubscriberId = model.SubscriberId,
|
||||
SubscribedOn = model.SubscribedOn,
|
||||
Subscriber = userInfo.ToXPersonDto(),
|
||||
@@ -657,7 +658,7 @@ namespace xWebinarService.Providers
|
||||
//
|
||||
// Check Entity Removed ...
|
||||
result = !await WebinarRepository.IsExistsAsync(webinarId);
|
||||
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
@@ -996,13 +997,8 @@ namespace xWebinarService.Providers
|
||||
if (!query.Filter.IsNullOrEmpty())
|
||||
{
|
||||
//
|
||||
var filteredItems = new List<XWebinarSubscriberDto>();
|
||||
|
||||
//
|
||||
// Implement Filtering Senario ...
|
||||
|
||||
//
|
||||
items = filteredItems.AsEnumerable();
|
||||
items = items
|
||||
.ApplyFilter(query.Filter);
|
||||
}
|
||||
var filteredItemsCount = items.Count();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user