public async Task <EquipmentDto> CreateAsync(EquipmentDto equipment) { var result = _mapper.Map <Equipment>(equipment); result = await _repository.CreateAsync(result); return(_mapper.Map <EquipmentDto>(result)); }