public int AddMenuLef(MenuLeft news)
 {
     var dao = new MenuLeftDAO();
     DateTime datetime = DateTime.Now;
     news.CreatedOn = news.CreatedOn = datetime;
     dao.AddMenuLef(news);
     return news.Id;
 }
 public int UpdateMenuLef(MenuLeft news)
 {
     var dao = new MenuLeftDAO();
     DateTime datetime = DateTime.Now;
     news.ChangedOn = datetime;
     int res = dao.UpdateMenuLef(news);
     return res;
 }
 public List<MenuLeft> GetMenuProject()
 {
     var dao = new MenuLeftDAO();
     List<MenuLeft> res = dao.GetMenuProject();
     return res;
 }
 public MenuLeft GetMenuLeftById(int id, int type)
 {
     var dao = new MenuLeftDAO();
     MenuLeft res = dao.GetMenuLefById(id, type);
     return res;
 }
 public List<MenuLeft> GetMenuLeft(int type)
 {
     var dao = new MenuLeftDAO();
     List<MenuLeft> res = dao.GetMenuLefs(type);
     return res;
 }
 public List<MenuLeft> GetMenuConsultant()
 {
     var dao = new MenuLeftDAO();
     List<MenuLeft> res = dao.GetMenuConsultant();
     return res;
 }
 public int DeleteMenuLef(int id)
 {
     var dao = new MenuLeftDAO();
     int res = dao.DeleteMenuLef(id, DateTime.Now);
     return res;
 }