Exemplo n.º 1
0
        public void DeleteShipper(string shipperCode)
        {
            var shipperToRemove = _shipperRepository.Get(c => c.ShipperC == shipperCode);

            if (shipperToRemove != null)
            {
                _shipperRepository.Delete(shipperToRemove);
                SaveShipper();
            }
        }
Exemplo n.º 2
0
        public Shipper GetShipperid(int id)
        {
            var res = shipperRepository.Get(id);

            return(res);
        }