I want to show Components in a tabs , so first of all create few components. In this project we have three components, First View Component public class AllViewComponent : ViewComponent { private readonly UserManager<ApplicationUser> _userManager; public AllViewComponent(UserManager<ApplicationUser> userManager) { _userManager = userManager; } public async Task<IViewComponentResult> InvokeAsync() { List<StudentViewModel> allUsers = new List<StudentViewModel>(); var items = await _userManager.Users.ToListAsync(); foreach (var item in items) { allUsers.Add(new StudentViewModel {Id=item.Id, EnrollmentNo = item.EnrollmentNo, FatherName = item.FatherName, Name = item.Name, Age = item.Age, Birthdate = item.Birthdate, Address = item.Address, Gender = item.Gender, Email = item.Email }); }
Thanks for landing on the ‘About’ page of dotprogramming.
Welcome.
Here, I’ll be sharing some background information about ‘dotprogramming’ and jacob lefore (birthDate - 19 march 1987) (Guy behind dotprogramming).
About dotprogramming
Something About Me and dotprogramming
dotprogramming was started back in 2nd April 2013
The main purpose of starting this blog is to help other programmer, developer ,students.
So here are some of the reasons how my blog can help you and why you’ll find this blog useful.
Learning Better
Reduce your application bug
Improve skills
Learning better education
So, is it sound something interesting?
Welcome.
Here, I’ll be sharing some background information about ‘dotprogramming’ and jacob lefore (birthDate - 19 march 1987) (Guy behind dotprogramming).
About dotprogramming
Something About Me and dotprogramming
dotprogramming was started back in 2nd April 2013
The main purpose of starting this blog is to help other programmer, developer ,students.
So here are some of the reasons how my blog can help you and why you’ll find this blog useful.
Learning Better
Reduce your application bug
Improve skills
Learning better education
So, is it sound something interesting?
Comments
Post a Comment