public async Task <ActionResult <int> > GetCompanyCountForUser(Guid userId) { try { return(Ok(await _repository.GetJobApplicationCountForUser(userId))); } catch { // TODO: Log exception return(BadRequest()); } }