/* * The isCoordinator method verifies whether the current user is a coordinator for a specific event. */ private bool isCoordinator(string EventID) { Models.EventData eventData = new Models.EventData(); return(eventData.IsCoordinator(EventID, ViewBag.UserName)); }