public async Task <T> LoadInfo(T obj, string user) { Statistic statistic = _mapper.Map <Statistic>(obj); return(_mapper.Map <T>(await _repository.GetInfo(statistic, user))); }