/// <summary> /// Invoke method /// </summary> /// <returns>rerturn the count of the users</returns> public IViewComponentResult Invoke() { var count = repository.GetCountOfPhoneUsers(); return(View(count)); }