This repository contains a simple MVC (Model-View-Controller) application that performs CRUD (Create, Read, Update, Delete) operations on game categories using a ViewModel.
This MVC application demonstrates a basic implementation of managing game categories using the ViewModel pattern. The application allows users to perform CRUD operations on different game categories.
- ASP.NET MVC
- C#
- Entity Framework
- HTML
- CSS
- Bootstrap
- JavaScript
- SQL Server (for data storage)
To run this application locally, follow these steps:
-
Clone this repository to your local machine using:
git clone https://github.com/Moamen189/GameOver
-
Open the solution in Visual Studio.
-
Modify the connection string in the
Web.config
file to point to your local SQL Server instance. -
Build and run the application.
- List all game categories.
- Create a new game category.
- Edit an existing game category.
- Delete a game category.
-
Home Page: Upon accessing the application, you will be presented with a list of existing game categories.
-
Create Category: Click on the "Create New Category" button to create a new game category. Provide the necessary details and click the "Save" button.
-
Edit Category: Each existing category will have an "Edit" button. Clicking on it will allow you to modify the category's information. Click "Save" to apply the changes.
-
Delete Category: To remove a category, click on the "Delete" button next to the category you want to delete. A confirmation prompt will appear before deleting the category.
Contributions to enhance the functionality, fix issues, or improve the code structure are welcome. Here's how you can contribute:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Create a pull request to the main repository.