public void GetAllEventsById_Test() { int id = Event1.ID; int eventId = eventAppService.GetEventById(id).ID; Assert.That(eventId, Is.EqualTo(id)); }
public ActionResult EditEvent(int id) { return(View(eventAppService.GetEventById(id))); }
public void GetAllEventsById_Test() { int id = Event1.ID; int eventId = eventAppService.GetEventById(id).ID; Assert.That(eventId, Is.EqualTo(id)); }
public ActionResult EditEvent(int id) { return(View(eventAppService.GetEventById(id))); }