Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
esteban-gs committed Mar 22, 2020
1 parent e8b20e1 commit f6f09c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Machete.Web/Controllers/Legacy/EmployerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ public async Task<JsonResult> Edit(int id, string userName)
ModelState.ThrowIfInvalid();

var employer = _serv.Get(id);
var employerOriginalEmail = employer.email;
var modelIsValid = await _adaptor.TryUpdateModelAsync(this, employer);
if (modelIsValid) {
_serv.Save(employer, userName);
Expand Down

0 comments on commit f6f09c1

Please sign in to comment.