Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
CI-942 Updating apprentice details endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseviAgullo committed Jul 31, 2018
1 parent 7a9178e commit 2c749b5
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 2 deletions.
Binary file added src/._Sfa.Das.ApprenticeshipInfoService.sln
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ public sealed class FrameworkProviderSearchResultsItem : IApprenticeshipProvider
public bool IsNew { get; set; }

public bool IsLevyPayerOnly { get; set; }

public bool CurrentlyNotStartingNewApprentices { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@ public interface IApprenticeshipProviderSearchResultsItem
bool IsNew { get; set; }

bool IsLevyPayerOnly { get; set; }

bool CurrentlyNotStartingNewApprentices { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ public sealed class ProviderDetail
public bool IsNew { get; set; }

public bool IsLevyPayerOnly { get; set; }

public bool CurrentlyNotStartingNewApprentices { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,7 @@ public sealed class FrameworkProviderSearchResultsItemResponse : IApprenticeship
public bool IsNew { get; set; }

public bool IsLevyPayerOnly { get; set; }

public bool CurrentlyNotStartingNewApprentices { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public sealed class StandardProviderSearchResultsItemResponse : IApprenticeshipP
public bool HasParentCompanyGuarantee { get; set; }

public bool IsNew { get; set; }
public bool IsLevyPayerOnly { get; set; }

public bool IsLevyPayerOnly { get; set; }

public bool CurrentlyNotStartingNewApprentices { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@ public sealed class StandardProviderSearchResultsItem : IApprenticeshipProviderS
public bool IsNew { get; set; }

public bool IsLevyPayerOnly { get; set; }

public bool CurrentlyNotStartingNewApprentices { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ private ApprenticeshipDetails MapFromInterface(IApprenticeshipProviderSearchResu
HasNonLevyContract = item.HasNonLevyContract,
HasParentCompanyGuarantee = item.HasParentCompanyGuarantee,
IsNew = item.IsNew,
IsLevyPayerOnly = item.IsLevyPayerOnly
IsLevyPayerOnly = item.IsLevyPayerOnly,
CurrentlyNotStartingNewApprentices = item.CurrentlyNotStartingNewApprentices
}
};
}
Expand Down

0 comments on commit 2c749b5

Please sign in to comment.