Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
CON-3301 adding the deprectated flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hkf-tech committed May 6, 2021
1 parent 2b526ed commit fb92262
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -408,6 +408,7 @@ public async Task<ActionResult> SubmitChanges(string hashedAccountId, string has
[HttpGet]
[Route("{hashedApprenticeshipId}/changes/view", Name = "ViewChanges")]
[OutputCache(CacheProfile = "NoCache")]
[Deprecated]
public async Task<ActionResult> ViewChanges(string hashedAccountId, string hashedApprenticeshipId)
{
var viewModel = await _orchestrator
Expand All @@ -420,6 +421,7 @@ public async Task<ActionResult> ViewChanges(string hashedAccountId, string hashe
[HttpPost]
[ValidateAntiForgeryToken]
[Route("{hashedApprenticeshipId}/changes/view")]
[Deprecated]
public async Task<ActionResult> ViewChanges(string hashedAccountId, string hashedApprenticeshipId, UpdateApprenticeshipViewModel apprenticeship)
{
if (!ModelState.IsValid)
Expand All @@ -445,6 +447,7 @@ public async Task<ActionResult> ViewChanges(string hashedAccountId, string hashe

[HttpGet]
[Route("{hashedApprenticeshipId}/changes/review", Name = "ReviewChanges")]
[Deprecated]
public async Task<ActionResult> ReviewChanges(string hashedAccountId, string hashedApprenticeshipId)
{
var viewModel = await _orchestrator
Expand All @@ -456,6 +459,7 @@ public async Task<ActionResult> ReviewChanges(string hashedAccountId, string has
[HttpPost]
[ValidateAntiForgeryToken]
[Route("{hashedApprenticeshipId}/changes/review")]
[Deprecated]
public async Task<ActionResult> ReviewChanges(string hashedAccountId, string hashedApprenticeshipId, UpdateApprenticeshipViewModel viewModel)
{
if (!ModelState.IsValid)
Expand Down

0 comments on commit fb92262

Please sign in to comment.