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