예제 #1
0
 public void DeleteEventByIdAsync(int id)
 {
     _EventsRepository.DeleteById(id);
     _EventsRepository.SaveChanges();
 }