Exemplo n.º 1
0
        public IHttpActionResult SoSanhSoSanhThongKeTheoThang(dynamic dynamic)
        {
            ThangNamDTO thangNam = JsonConvert.DeserializeObject <ThangNamDTO>(dynamic.ToString());

            using (QuanLyBusiness quanLyBusiness = new QuanLyBusiness())
            {
                return(Ok(quanLyBusiness.SoSanhThongKeTheoThang(thangNam.Thang, thangNam.Nam)));
            }
        }
Exemplo n.º 2
0
        public SoSanhThongKeDTO SoSanhThongKeTheoThang(int thang, int nam)
        {
            var business = new QuanLyBusiness();

            return(business.SoSanhThongKeTheoThang(thang, nam));
        }