public int SentOrder(Order order) { try { return(orderBL.Add(order)); } catch (Exception e) { Logger.Log.Error(e.StackTrace); return(0); } }