Example #1
0
        public async Task <string> DeleteEvent(int Id)
        {
            string Status = string.Empty;
            var    result = data.Delete(Id);

            Status = result != null ? "Event deleted successfully." : "Failed to delete Event";
            return(Status);
        }