Exemplo n.º 1
0
        public async Task <ActionResult> EnterAsync(string section, DateTimeOffset timestamp)
        {
            Customer customerEnter = new()
            {
                SectionName = section,
                Timestamp   = timestamp
            };

            await repository.AddCustomerAsync(customerEnter);

            return(Ok());
        }