public static int SaveWarehouse(UIWarehouse warehouse) { return(BusinessObjects.Controllers.WarehouseController.SaveWarehouse(warehouse)); }
//public static List<TDCShipment> GetShipments() //{ // List<TDCShipment> shipments = new List<TDCShipment>(); // //add some shipments to print // TDCShipment shipment1 = new TDCShipment(); // shipment1.DeliveryWarehouse = new Warehouse(); // //shipment1.DeliveryWarehouse.Printer = new Printer(); // shipment1.DeliveryWarehouse.PrinterName = "Lexmark C510 PS3"; // shipment1.CustomerName = "Paul Nichols"; // shipment1.ShipmentNumber = "666"; // shipments.Add(shipment1); // TDCShipment shipment2 = new TDCShipment(); // shipment2.DeliveryWarehouse = new Warehouse(); // //shipment2.DeliveryWarehouse.Printer = new Printer(); // shipment2.DeliveryWarehouse.PrinterName = "Lexmark C510 PS3"; // shipment2.CustomerName = "Lee Spring"; // shipment2.ShipmentNumber = "999"; // shipments.Add(shipment2); // return shipments; //} public static bool DeleteWarehouse(UIWarehouse warehouse) { return(BusinessObjects.Controllers.WarehouseController.DeleteWarehouse(warehouse)); }