public void CleanUp()
 {
     if (addedShowingId > 0)
     {
         _services.Remove(addedShowingId);
     }
 }
Example #2
0
 public IHttpActionResult Delete([FromBody] ShowingDto showing)
 {
     _showingService.Remove(showing.Id);
     return(Json(true));
 }
Example #3
0
 /// <summary>
 /// Deletes the showing.
 /// </summary>
 /// <param name="model"></param>
 public void Delete(Showing model)
 {
     _showingService.Remove(model.Id);
 }