diff --git a/Dfe.Academies.Academisation.Service/Commands/FormAMatProject/CreateFormAMatProjectsCommandHandler.cs b/Dfe.Academies.Academisation.Service/Commands/FormAMatProject/CreateFormAMatProjectsCommandHandler.cs index 2a4ca9f01..db070583f 100644 --- a/Dfe.Academies.Academisation.Service/Commands/FormAMatProject/CreateFormAMatProjectsCommandHandler.cs +++ b/Dfe.Academies.Academisation.Service/Commands/FormAMatProject/CreateFormAMatProjectsCommandHandler.cs @@ -41,7 +41,7 @@ public async Task Handle(CreateFormAMatProjectsCommand request, { // create formAMat formAMat = FormAMatProject.Create(conversionProject.Details.NameOfTrust, conversionProject.Details.ApplicationReferenceNumber, _dateTimeProvider.Now); - _formAMatProjectRepository.CreateFormAMatProjectWithTrustReferenceNumber(formAMat); + await _formAMatProjectRepository.CreateFormAMatProjectWithTrustReferenceNumber(formAMat); await _formAMatProjectRepository.UnitOfWork.SaveChangesAsync(cancellationToken); }