public long AddDepot(DepotObject depot) { try { return(_depotManager.AddDepot(depot)); } catch (Exception ex) { ErrorLogger.LoggError(ex.StackTrace, ex.Source, ex.Message); return(0); } }