public ActionResult ContactUs(FormCollection form)
 {
     if (Session["Role"].ToString() == "N")
     {
         Response.Write("Access denied!");
         return(null);
     }
     else
     {
         RepositoryOBTRS db = new RepositoryOBTRS();
         ViewData["Data"] = db.GetContactUs();
         if (form.Get("RichTextEditor") != null)
         {
             if (Session["Role"].ToString() == "R")
             {
                 ViewData["Result"] = "Your role is readonly";
             }
             else
             {
                 ViewData["Result"] = db.UpdateContactUs(form.Get("RichTextEditor"));
                 ViewData["Data"]   = db.GetContactUs();
             }
             return(View());
         }
         else
         {
             ViewData["Result"] = "";
         }
         return(View());
     }
 }