public IActionResult GalleryByCheckIn(int checkInId) { var result = _galleryManager.GalleryByCheckinForm(checkInId); if (result.Status) { return(Ok(result)); } else { return(StatusCode(404, result)); } }
public IActionResult GalleryList(int?id) { var result = _galleryManager.GalleryByCheckinForm(id.Value); if (result.Data.Count > 0) { return(PartialView("_index", result.Data)); } else { return(Json("")); } }