コード例 #1
0
        public async Task <IActionResult> SelectedItemApproved()
        {
            string userId = _httpContextAccessor.HttpContext.Request.Cookies["UserId"];
            string FMList = HttpContext.Request.Query["FMList"].ToString();
            SelectedItemApprovedResponse response = _iPP_OTService.SelectedItemApproved(Convert.ToInt32(userId), FMList);

            return(Ok(response));
        }
コード例 #2
0
        public IActionResult SelectedItemApproved(int UserId, string FMList)
        {
            var response = _pp_otService.SelectedItemApproved(UserId, FMList);

            if (response.isSuccess == false)
            {
                return(null);
            }
            return(Ok(response));
        }