// Helper methods private async Task <ActionResult> CreateCrew(string crewName) { CrewService crewService = new CrewService(_dbContext, _mainEventProvider); CrewController crewController = new CrewController(crewService); SetUser(crewController, _createdUser1.Entity.Id); return(await crewController.CreateCrewAsync(crewName)); }