public async Task <IActionResult> SelectedItemDenial() { string userId = _httpContextAccessor.HttpContext.Request.Cookies["UserId"]; string FMList = HttpContext.Request.Query["FMList"].ToString(); SelectedItemDenialResponse response = _iPP_OTService.SelectedItemDenial(Convert.ToInt32(userId), FMList); return(Ok(response)); }
public IActionResult SelectedItemDenial(int UserId, string FMList) { var response = _pp_otService.SelectedItemDenial(UserId, FMList); if (response.isSuccess == false) { return(null); } return(Ok(response)); }