public async Task <SlopeDto> Update(SlopeInput slopeInput)
        {
            try
            {
                SlopeEntity slope = new SlopeEntity
                {
                    Id               = slopeInput.ID,
                    UNIFIEDCODE      = slopeInput.UNIFIEDCODE,
                    DISASTERUNITNAME = slopeInput.DISASTERUNITNAME,
                    SLOPETYPE        = slopeInput.SLOPETYPE,
                    UPDATETIME       = slopeInput.UPDATETIME,
                    LOCATION         = slopeInput.LOCATION
                };
                SlopeEntity entity = await _iSlopeRepository.UpdateAsync(slope);

                SlopeDto SlopeDtoRtn = entity.MapTo <SlopeDto>();
                return(SlopeDtoRtn);
            }
            catch (Exception exception)
            {
                throw exception;
            }
        }
        public async Task <SlopeDto> Insert(SlopeInput slopeInput)
        {
            try
            {
                SlopeEntity slope = new SlopeEntity
                {
                    Id               = Guid.NewGuid().ToString(),
                    UNIFIEDCODE      = slopeInput.UNIFIEDCODE,
                    DISASTERUNITNAME = slopeInput.DISASTERUNITNAME,
                    SLOPETYPE        = slopeInput.SLOPETYPE,
                    LOCATION         = slopeInput.LOCATION,
                    UPDATETIME       = slopeInput.UPDATETIME
                };
                SlopeEntity entity = await _iSlopeRepository.InsertAsync(slope);

                SlopeDto slopeDtoRtn = entity.MapTo <SlopeDto>();
                return(slopeDtoRtn);
            }
            catch (Exception exception)
            {
                throw exception;
            }
        }