Esempio n. 1
0
        public async Task AddAsync(string name, string nameEng, string description, string descriptionEng, decimal price, ShipmentType type)
        {
            await shipmentRepository.AddAsync(new Shipment(name, nameEng, description, descriptionEng, price, type));

            await shipmentRepository.SaveChangesAsync();
        }