public async Task <ActionResult <GetEventModel> > GetEvent(Guid eventUid) { var validationResult = _eventValidation.ValidateGetEvent(eventUid); if (!validationResult.ValidationResult) { return(BadRequest(validationResult.ValidationMessage)); } return(await _eventLogic.GetEvent(eventUid)); }
public IActionResult EventIndividual(int id) { EventModel vm = logic.GetEvent(id); return(View("EventIndividual", vm)); }