예제 #1
0
        public async Task <Cashier> AddAsync(Cashier cashier, CancellationToken cancellationToken)
        {
            cashier.ModifiedAt = DateTime.Now;
            var obj = await dbContext.AddAsync(cashier, cancellationToken);

            return(obj.Entity);
        }