public async Task <IEnumerable <VariantDTO> > GetVariants() { IEnumerable <Variant> variants = _variantRepository.GetAll(); return(_mapper.Map <IEnumerable <VariantDTO> >(variants)); }