public async Task <IHttpActionResult> GetKhuyenMaiHangTangHang() { string unitCode = _serviceCustomer.GetCurrentUnitCode(); var result = new TransferObj <List <NvKhuyenMaiBuy1Get1Vm.ListHangTangHang> >(); try { var returnData = ProcedureCollection.GetKhuyenMaiHangTangHang(unitCode); if (returnData != null && returnData.Count > 0) { result.Data = returnData; result.Status = true; } else { result.Data = null; result.Status = false; } } catch (Exception ex) { result.Data = null; result.Status = false; } return(Ok(result)); }