public int Update_RolesDAL(Role r)
 {
     try
     {
         using (var orr = new Online_Railway_reservation_systemEntities())
         {
             orr.Configuration.ProxyCreationEnabled = false;
             orr.Update_Roles(r.Role_ID,r.Role_Name);
             return 1;
         }
     }
     catch (Exception)
     {
         return 0;
     }
 }