常用方法
常用方法
常用方法
常用方法
public IActionResult GetMyCompanies([FromQuery] bool?approved) { try { string UserId = IdentityHelper.GetUserId(HttpContext); return(Ok(_companiesRepository.GetMyCompanies(UserId, approved))); } catch { return(BadRequest()); } }