示例#1
0
        public LaboratoryModel GetByDate(string date)
        {
            DateTime d;

            if (!DateTime.TryParse(date, out d))
            {
                throw new Exception("invlid date format");
            }
            var ret = labService.GetByDate(d);

            return(ret);
        }