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))); } }
public SoSanhThongKeDTO SoSanhThongKeTheoThang(int thang, int nam) { var business = new QuanLyBusiness(); return(business.SoSanhThongKeTheoThang(thang, nam)); }