public bool BuyPackage(ShipperDetailDTO data, string name)
        {
            var userId  = _user.FindUser(name).ID;
            var shipper = new ShipperDetail();

            if (userId != 1)
            {
                shipper = _repo.GetByUserId(userId);
            }
            else
            {
                shipper = _repo.GetByUserId(data.ShipperId.Value);
            }
            shipper.Deposit       = shipper.Deposit.Value + data.Deposit;
            shipper.RecentBalance = shipper.RecentBalance + data.Deposit;
            shipper.Total         = shipper.Total.Value + data.Total;
            var result = _repo.Update(shipper);

            return(result);
        }