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)); }
public IActionResult SelectedItemApproved(int UserId, string FMList) { var response = _pp_otService.SelectedItemApproved(UserId, FMList); if (response.isSuccess == false) { return(null); } return(Ok(response)); }