Permalink
Browse files

Removed option to delete seats until we have an integration event not…

…ifying the Registration BC.
  • Loading branch information...
1 parent 4d64e81 commit d577f001b6b8ec724c8573df72ffa105da10634a @jdom committed May 21, 2012
@@ -265,11 +265,12 @@ public ActionResult EditSeat(SeatType seat)
return PartialView(seat);
}
- [HttpPost]
- public void DeleteSeat(Guid id)
- {
- this.Service.DeleteSeat(id);
- }
+ // TODO: Cannot delete until the event is being published
+ //[HttpPost]
+ //public void DeleteSeat(Guid id)
+ //{
+ // this.Service.DeleteSeat(id);
+ //}
#endregion
@@ -15,11 +15,11 @@
@Html.DisplayFor(modelItem => item.Price)
</td>
<td>
- @if (ViewBag.WasEverPublished) {
+@* @if (ViewBag.WasEverPublished) {
<span title="The conference has been published at least once before. Cannot delete seat types.">Delete</span>
} else {
<a href="#deleteRow" class="deleteRow">Delete</a>
- }
+ }*@
</td>
</tr>
}

0 comments on commit d577f00

Please sign in to comment.