/* Set Role For User*/ public JsonResult CreateStaff(int Id, string Role) { CustomerAction.Create_Staff(Id, Role); //return Redirect("~/Customer/Index/" + Session["id"]); RecordAction.Create_Record(CustomerAction.Find_Customer((int)Session["id"]).email, CustomerAction.Find_Customer((int)Session["id"]).email + " update role " + Role + " for account " + CustomerAction.Find_Customer(Id).email, DateTime.Now.Date); return(Json(JsonRequestBehavior.AllowGet)); }