public async Task <ActionResult <List <Value> > > Add([FromBody] List <ValueDto> valueDtos) { var values = _mapper.Map <List <Value> >(valueDtos); _valueRepository.AddRange(values); await _valueRepository.UnitOfWork.Commit(); return(values); }