public override string Execute(string[] data) { var entities = eventService.GetAll(); if (entities.Count() == 0) { return("There are no events registered!"); } return(ConsoleUtilities.DrawTable <Event>(entities)); }
public override string Execute(string[] data) { var entities = eventService.GetAll(); if (entities.Count() == 0) { return("There are no events registered!"); } return(ConsoleUtilities.DrawTable <Event>(entities)); }