private async Task <Outfit> GetCensusOutfit(string outfitId) { var censusOutfit = await _censusOutfit.GetOutfitAsync(outfitId); return(censusOutfit == null ? null : ConvertToDbModel(censusOutfit)); }
private async Task <Outfit> GetCensusOutfit(string outfitId) { var censusOutfit = await _censusOutfit.GetOutfitAsync(outfitId); return(censusOutfit == null ? null : new Outfit { Id = censusOutfit.OutfitId, Alias = censusOutfit.Alias, Name = censusOutfit.Name, LeaderCharacterId = censusOutfit.LeaderCharacterId, CreatedDate = censusOutfit.TimeCreated, MemberCount = censusOutfit.MemberCount }); }