public static bool AddRawMaterialsOrderDetailsDL(Entities.RawMaterialsOrderDetails order, List <Entities.RawMaterialsOrderDetails> orderDetails)
        {
            bool RawMaterialsorderAdded = false;

            try
            {
                if (ValidateRawMaterialsOrderDetails(order))
                {
                    RawMaterialsOrderDetailsDAL RawMaterialsorderDAL = new RawMaterialsOrderDetailsDAL();
                    RawMaterialsorderAdded = RawMaterialsorderDAL.AddRawMaterialsOrderDetailsDAL(order, orderDetails);
                }
            }
            catch (Exception ex)
            {
                throw new InventoryException(ex.Message);
            }
            return(RawMaterialsorderAdded);
        }