/// <summary> /// Method to add order information /// </summary> /// <param name="order">order</param> public int AddOrder(OrderInfo order) { try { return(orderDal.AddOrders(new List <OrderInfo>() { order })); } catch { throw; } }
public HttpResponseMessage insertOrder(OrderBO order) { int ordrs = iorder.AddOrders(order); return(Request.CreateResponse(HttpStatusCode.OK, "saved successfully")); }