private DispatchAllocationViewModelDto BindDispatchAllocationViewModelDto(DispatchAllocation dispatchAllocation)
 {
     var target = new DispatchAllocationViewModelDto();
     target.Amount = dispatchAllocation.Amount;
     target.AmountInUnit = dispatchAllocation.AmountInUnit;
     target.BidRefNo = dispatchAllocation.BidRefNo;
     target.CommodityID = dispatchAllocation.CommodityID;
     target.CommodityName = dispatchAllocation.Commodity.Name;
     target.DispatchAllocationID = dispatchAllocation.DispatchAllocationID;
     target.DispatchedAmount = dispatchAllocation.DispatchedAmount;
     target.DispatchedAmountInUnit = dispatchAllocation.DispatchedAmountInUnit;
     target.FDPName = dispatchAllocation.FDP.Name;
     target.IsClosed = dispatchAllocation.IsClosed;
     target.ProjectCodeID = dispatchAllocation.ProjectCodeID;
     //TODO:Check Region,zone,woreda Name
     target.Region = dispatchAllocation.FDP.AdminUnit.AdminUnit2.Name;
     target.RemainingQuantityInQuintals = dispatchAllocation.RemainingQuantityInQuintals;
     target.RemainingQuantityInUnit = dispatchAllocation.RemainingQuantityInUnit;
     target.RequisitionNo = dispatchAllocation.RequisitionNo;
     target.ShippingInstructionID = dispatchAllocation.ShippingInstructionID;
     target.TransporterName = dispatchAllocation.Transporter.Name;
     target.Woreda = dispatchAllocation.FDP.AdminUnit.Name;
     target.Zone = dispatchAllocation.FDP.AdminUnit.AdminUnit2.Name;
     return target;
 }