public Task <ProductFaceValueDto> Update(ProductFaceValueDto productFaceValueDto)
        {
            ProductFaceValue productFaceValue = ObjectMapper.Map <ProductFaceValue>(productFaceValueDto);

            productFaceValue = _productFaceValueRepository.Update(productFaceValue);
            return(Task.FromResult <ProductFaceValueDto>(productFaceValueDto));
        }
        public async Task <ProductFaceValueDto> GetById(int id)
        {
            ProductFaceValue result = await _productFaceValueRepository.GetAsync(id);

            ProductFaceValueDto dto = ObjectMapper.Map <ProductFaceValueDto>(result);

            return(dto);
        }
        public Task <ProductFaceValueDto> Create(ProductFaceValueDto productFaceValueDto)
        {
            productFaceValueDto.CreatorUserId = AbpSession.UserId.Value;
            productFaceValueDto.CreationTime  = DateTime.Now;
            ProductFaceValue productFaceValue = ObjectMapper.Map <ProductFaceValue>(productFaceValueDto);

            productFaceValueDto.Id = _productFaceValueRepository.InsertAndGetId(productFaceValue);
            return(Task.FromResult <ProductFaceValueDto>(productFaceValueDto));
        }