This commit is contained in:
@@ -68,6 +68,7 @@ namespace Sockeye.Biz
|
||||
case SockType.GZCase:
|
||||
return new GZCaseBiz(ct, userId, translationId, roles);
|
||||
case SockType.Subscription:
|
||||
case SockType.SubscriptionItem:
|
||||
return new SubscriptionBiz(ct, userId, translationId, roles);
|
||||
|
||||
default:
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace Sockeye.Biz
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//GET
|
||||
//
|
||||
internal async Task<Subscription> GetAsync(long id, bool logTheGetEvent = true)
|
||||
internal async Task<Subscription> GetAsync(long id, bool logTheGetEvent = true, bool populateForReporting = false)
|
||||
{
|
||||
var ret = await ct.Subscription.Include(z => z.Items.OrderByDescending(x=>x.Active).ThenBy(x => x.ExpireDate)).AsNoTracking().SingleOrDefaultAsync(z => z.Id == id);
|
||||
if (logTheGetEvent && ret != null)
|
||||
|
||||
Reference in New Issue
Block a user