public List <BieuDoTheoThangOBJ> BieuDoGhimTheoNgay(DateTime TuNgay, DateTime DenNgay) { LocOBJ pa = new LocOBJ(TuNgay.ToString("MM-dd-yyyy HH:mm:ss"), DenNgay.ToString("MM-dd-yyyy HH:mm:ss")); string json = Networking.getInstance().PostV2(BASE_URL + "api/baocao/baocaoththeongay", pa); return(JsonConvert.DeserializeObject <List <BieuDoTheoThangOBJ> >(json)); }
//lấy ghim public List <Ghim> Ghim(DateTime TuNgay, DateTime DenNgay) { LocOBJ loc = new LocOBJ(TuNgay.ToString("MM-dd-yyyy HH:mm:ss"), DenNgay.ToString("MM-dd-yyyy HH:mm:ss")); string json = Networking.getInstance().PostV2(BASE_URL + "api/ghim/ghimhoiha", loc); return(JsonConvert.DeserializeObject <List <Ghim> >(json)); }