示例#1
0
        public async Task AddRecord(RoadmapRecordDtoInput input)
        {
            var roadmapRecord = new RoadmapRecord
            {
                Title               = input.Title,
                Date                = input.Date,
                Description         = input.Description,
                ExchangeRate        = input.ExchangeRate,
                MinTokenToBuy       = input.MinTokenToBuy,
                Bonus               = input.Bonus,
                IncludeFeatureYears = input.IncludeFeatureYears,
                TenantId            = AbpSession.TenantId
            };

            await _roadmapManager.AddRecordAsync(roadmapRecord);
        }
 public async Task UpdateRecordAsync(RoadmapRecord roadmapRecord)
 {
     await _roadmapRecordRepository.UpdateAsync(roadmapRecord);
 }
 public async Task AddRecordAsync(RoadmapRecord roadmapRecord)
 {
     await _roadmapRecordRepository.InsertAsync(roadmapRecord);
 }