public static string AddEvent(int root_id, string title,string content)
        {
            Events Event = new Events();
=======
        public static string DeleteEvent(int event_id)
        {
            Events Event = new Events();
            using(DB db =new DB ())
            {
                Event = db.Events.Find(event_id);
                db.Events.Remove(Event);
                db.SaveChanges();
            }

            return "ok";
           
        }