public static bool UpdateYouXuanCategory(DataAccess.Entity.Discovery.Category category) { var result = false; try { result = CategoryDal.UpdateYouXuanCategory(ProcessConnection.OpenMarketing, category) > 0; } catch (Exception ex) { logger.Error(ex); } return(result); }