Skip to content

Commit

Permalink
refactor: remove test method
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed Aug 13, 2021
1 parent 6f42be5 commit 24f991e
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,5 @@ public async Task<ActionResult<MemoryStream>> RegisterAssignedWeaponMagazineForm
return BadRequest();
}
}

[HttpGet]
public async Task<ActionResult<MemoryStream>> Get()
{
var stream = await _mediator.Send(new GenerateAssignedWeaponMagazineFormatQuery(1));

stream.Position = 0;
return File(stream, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "format.xlsx");
}
}
}

0 comments on commit 24f991e

Please sign in to comment.