public IActionResult SaveAthleteData(MapCooperViewModel objMap) { try { int getMapId = _CooperRepo.SaveCooperTestDetails(objMap); return(Ok(getMapId)); } catch (Exception ex) { return(StatusCode(500, ex.Message)); } }