コード例 #1
0
        public static async Task <BonusBox> PostPosition(PostPositionViewModel obj, TimeSpan?timeOut = null)
        {
            var url   = ApiUrlHelper.GetAddPositionUrl();
            var bonus = await HttpHelper.Post <BonusBox> (url, obj, timeOut);

            return(bonus);
        }
コード例 #2
0
		public static async Task<BonusBox> PostPosition (PostPositionViewModel obj, TimeSpan? timeOut = null)
		{
			var url = ApiUrlHelper.GetAddPositionUrl ();
			var bonus = await HttpHelper.Post<BonusBox> (url, obj, timeOut);
			return bonus;
		}