示例#1
0
        public List <MonitorModel> GetAll()
        {
            if (repository.GetAll().Count() == 0)
            {
                return(null);
            }

            return(repository.GetAll().ToList());
        }