public async Task <IActionResult> GetUsersForCompany([FromQuery] string searchTerm) { var companyId = this.User.Claims.SingleOrDefault(c => c.Type == "companyId").Value; var users = await usersProvider.GetUsersForCompany(companyId, searchTerm); return(Ok(users)); }