Пример #1
0
 public void CreateOrder([FromBody] Order O = null)
 {
     if (O != null)
     {
         PortfolioManager P = new PortfolioManager(db);
         P.Add(O);
     }
     else
     {
         throw new ProcessException("Order contains null attribute");
     }
 }
        public void CreateOrder([FromBody] Order O)
        {
            PortfolioManager P = new PortfolioManager(db);

            P.Add(O);
        }