Exemplo n.º 1
0
        public async Task Create(CreateEventHeaderDto input)
        {
            var @eventHeader = input.MapTo <EventHeader>();

            @eventHeader = EventHeader.Create(AbpSession.GetTenantId(), input.Name, input.Description, input.Type, input.Date.Value, input.Frequency, input.ExpectedDate.Value, input.Department, input.Venue);
            await _eventHeaderRepository.InsertAsync(@eventHeader);
        }