Beispiel #1
0
        public async Task <IActionResult> GetAll()
        {
            var model = await _festivalService.GetFestivalsAsync();

            var response = new FestivalResponse
            {
                Code    = "success",
                Message = "festival.get.success",
                Data    = model,
            };

            return(Ok(response));
        }