async public Task <IActionResult> GetAll() { var data = await _rankService.GetAll(); return(data.Success ? Ok(data) : BadRequest(data)); }