public ListTable Save(ListTable listTable)
        {
            ListTableRepository repo = new ListTableRepository();

            if (repo.Iduplicate(listTable))
            {
                return(new ListTable());
            }
            else
            {
                return(repo.Save(listTable));
            }
        }
        public bool Delete(int Id)
        {
            ListTableRepository repo = new ListTableRepository();

            return(repo.Delete(Id));
        }
        public ListTable GetById(int Id)
        {
            ListTableRepository repo = new ListTableRepository();

            return(repo.GetById(Id));
        }
        public List <ListTable> GetList()
        {
            ListTableRepository repo = new ListTableRepository();

            return(repo.GetList());
        }