public async Task <ActionResult <ScreenModel[]> > Get(int showTimeId) { try { var screens = await screenRepository.GetAllScreensForShowtimeAsync(showTimeId); return(mapper.Map <ScreenModel[]>(screens)); } catch (Exception) { return(this.StatusCode(StatusCodes.Status500InternalServerError)); } }