public async Task <IActionResult> GetAll() { var result = await _statManager.GetAllAsync(); return(Ok(new ApiResponse(_localizationService, _logger).Ok( _mapper.Map <IList <Stat>, IList <StatResponse> >(result.EntityList), result.Count))); }