Browse Source

Update Organization.cs

pull/90/head
berkansasmaz 5 years ago
parent
commit
671fc5730d
No known key found for this signature in database GPG Key ID: 3AD81E2CA002230D
  1. 4
      src/EventHub.Domain/Organizations/Organization.cs

4
src/EventHub.Domain/Organizations/Organization.cs

@ -87,12 +87,12 @@ namespace EventHub.Organizations
return this; return this;
} }
SetPlanType(OrganizationPlanType.Free, DateTime.Today); SetPlanType(OrganizationPlanType.Free);
return this; return this;
} }
private Organization SetPlanType(OrganizationPlanType planType, DateTime endDate) private Organization SetPlanType(OrganizationPlanType planType, DateTime? endDate = null)
{ {
if (!Enum.IsDefined(typeof(OrganizationPlanType), planType)) if (!Enum.IsDefined(typeof(OrganizationPlanType), planType))
{ {

Loading…
Cancel
Save