Skip to content

Commit

Permalink
fix: method name formatting in ContractSignedEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilbaczek committed Nov 18, 2023
1 parent 59edd5e commit f0fc80c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace EvolutionaryArchitecture.Fitnet.Contracts.IntegrationEvents;

public sealed record ContractSignedEvent(Guid Id, Guid ContractId, Guid ContractCustomerId, DateTimeOffset SignedAt, DateTimeOffset ExpireAt, DateTimeOffset OccurredDateTime)
{
public static ContractSignedEvent ````Create(Guid contractId, Guid contractCustomerId, DateTimeOffset signedAt, DateTimeOffset expireAt) =>
public static ContractSignedEvent Create(Guid contractId, Guid contractCustomerId, DateTimeOffset signedAt, DateTimeOffset expireAt) =>
new(Guid.NewGuid(), contractId, contractCustomerId, signedAt, expireAt, DateTimeOffset.UtcNow);
}

0 comments on commit f0fc80c

Please sign in to comment.