public async Task <ActionResult> DeleteEvent(string id)
        {
            await _eventDefinitionService.Delete(id);

            return(Ok());
        }
 public ActionResult DeleteEvent(string id)
 {
     _eventDefinitionService.Delete(id);
     return(RedirectToAction("EventDefinitions"));
 }
Exemple #3
0
 public ActionResult DeleteEvent(string id)
 {
     _eventDefinitionService.Delete(id);
     return(Ok());
 }