Beispiel #1
0
        public async Task <int> CreateSaleAsync(SaleModel sale)
        {
            string userId = RequestContext.Principal.Identity.GetUserId();

            return(await _saleRepository.CreateSaleAsync(userId, sale));
        }