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 }); }
Introduction:
Online voting system is a web based solution.It removes traditional voting system problems such as :
Online voting system is a web based solution.It removes traditional voting system problems such as :
- Take more time and human resources
- Does not give instant poll result
- False voter
- Inefficient
Those problem are major problem in traditional system . If you want to remove such types of problem in traditional system then you will use web-based solution.
Features of Online voting system:
- Detect false voter
- Instant poll result
- Easy method for vote count
- keep global information
System Requirements :
- Visual studio 2010
- SqlServer 2008
- Internet connection
- Mail_id
How to run this project :
- Open website folder in Visual studio 2010
- Run your project by selecting green triangle button
- Open voter register page
- Fill some required filled and click on submit button
- Login in Admin panel by username and password
- Approve Voter by changing flag bit (0 to 1)
- After approval login in your mail id and copy your secure code
- Login in voter login panel and fill some required filled(voter-id , securecode , email )
- After login you can vote now of your desired candidate .
- Count total vote by admin
- Show result by admin
Comments
Post a Comment