protected void Page_Load(object sender, EventArgs e)
 {
     int id = int.Parse(Request.Params["Id"]);
     BillingEntities db=new BillingEntities();
     db.Users.DeleteObject(db.Users.FirstOrDefault(s => s.Id == id));
     db.SaveChanges();
     Response.Redirect("");
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     BillingEntities db=new BillingEntities();
     int id = int.Parse(Request.Params["Id"]);
     Message message = db.Messages.FirstOrDefault(s => s.Id == id);
     if (message != null)
     {
         message.IsReaded = true;
         db.SaveChanges();
     }
 }