Skip to content

Commit

Permalink
Merge pull request #447 from DFE-Digital/bugfix/transfer-project-no-i…
Browse files Browse the repository at this point in the history
…d-in-response

Bugfix to return transfer project Id in the api response
  • Loading branch information
paullocknimble authored Apr 15, 2024
2 parents 1fe1d1c + 497f7f5 commit 5473933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ namespace Dfe.Academies.Academisation.IService.ServiceModels.TransferProject
{
public class AcademyTransferProjectResponse
{
public int Id { get; set; }
public string ProjectUrn { get; set; }

public string ProjectReference { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public static AcademyTransferProjectResponse Create(ITransferProject model)

return new AcademyTransferProjectResponse
{
Id = model.Id,
ProjectUrn = model.Urn.ToString(),
ProjectReference = model.ProjectReference,
OutgoingTrustUkprn = model.OutgoingTrustUkprn,
Expand Down

0 comments on commit 5473933

Please sign in to comment.