public async Task <ActionResult> DeleteEvent(string id) { await _eventDefinitionService.Delete(id); return(Ok()); }
public ActionResult DeleteEvent(string id) { _eventDefinitionService.Delete(id); return(RedirectToAction("EventDefinitions")); }
public ActionResult DeleteEvent(string id) { _eventDefinitionService.Delete(id); return(Ok()); }