public static bool Branch_Update(Branch data)
 {
     return db.Branch_Update(data);
 }
 public bool Branch_Update(Branch data)
 {
     using (SqlCommand dbCmd = new SqlCommand("sp_Branch_Update", GetConnection()))
     {
         dbCmd.CommandType = CommandType.StoredProcedure;
         dbCmd.Parameters.Add(new SqlParameter("@Id", data.Id));
         dbCmd.Parameters.Add(new SqlParameter("@Name", data.Name));
         dbCmd.Parameters.Add(new SqlParameter("@Ord", data.Ord));
         dbCmd.Parameters.Add(new SqlParameter("@Logo", data.Logo));
         dbCmd.ExecuteNonQuery();
     }
     //Clear cache
     System.Web.HttpContext.Current.Cache.Remove("Branch");
     return true;
 }
 public static bool Branch_Insert(Branch data)
 {
     return db.Branch_Insert(data);
 }