public async Task <ActionResult> Index() { try { return(Ok(await _campRepository.GetAllCamp())); } catch (Exception e) { return(StatusCode(StatusCodes.Status500InternalServerError, "Error In Retrieving Data From Database")); } }