private int LoadAllMasterBillByDateToComboboxXacNhanDen(string airwaybill)
        {
            List <MasterAirwayBillEntity> finalList = new List <MasterAirwayBillEntity>();

            //manifestList = _manifestServices.GetManifestByDateString(dtpNgayDen.Value.ToString("yyyy-MM-dd"));
            manifestList = repositoryShipment.GetManifestByAirwaybill(airwaybill);
            if (manifestList.Count == 0)
            {
                return(0);
            }
            else
            {
                var masterBillList = manifestList.GroupBy(t => t.MasterAirWayBill).Select(p => p.First());
                if (masterBillList != null && masterBillList.Any())
                {
                    foreach (ManifestEntity manifest in masterBillList)
                    {
                        MasterAirwayBillEntity entity = new MasterAirwayBillEntity();
                        entity.MasterAirwayBill = manifest.MasterAirWayBill;
                        finalList.Add(entity);
                    }
                }
                return(manifestList.Count);
            }
        }