GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - zafeirisdimi/2.Assignment_CRUD: Coding Bootcamp ----> 2) Assignment : " CRUD "

BranchesTags
Open more actions menu

Latest commit

 

History

43 Commits
43 Commits

Folders and files

NameName
Last commit message
Last commit date
Assignment2
Assignment2
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Assignment2.sln
Assignment2.sln
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 

Repository files navigation


ProjectLogo


CRUD

You are required to produce a solution that implements a CRUD using MVC methodologies for the entity Trainers.

Requirements

You need to submit all the produced files in a zip file named by your_name_individual_partb.zip

  • Create Trainer [20marks]

  • Read Trainer details [20marks]

  • Update Trainer details [20marks]

  • Delete Trainer [20marks]

  • Use of MVC technologies [20marks]


πŸ“‹Table of contents

  • CRUD
  • ApplicationDatabase
    • ApplicationContext
  • Migrations
    • Configurations
  • Models
    • Assignment
    • Course
    • Trainer
    • Student
  • Interfaces
    • IPerson
  • Repositories
    • AssignmentRepository
    • CourseRepository
    • TrainerRepository
    • StudentRepository
  • Views
  • TrainerView
    • Create
    • Read
    • Edit
    • Delete
  • CourseView
    • Create
    • Read
    • Edit
    • Delete
  • StudentView
    • Create
    • Read
    • Edit
    • Delete
  • AssignmentView
    • Create
    • Read
    • Edit
    • Delete
  • Controllers
  • Installation
  • Technologies and Tools

ApplicationDatabase

ApplicationContext


Migrations

Configurations


Model

Trainer

Type Properties Methods Required Min Max
int ID get, set β˜‘οΈ 1 no-limit
string FirstName get, set β˜‘οΈ 10 50
string LastName get, set β˜‘οΈ 10 50
string PhoneNumber get, set β˜‘οΈ 10 20
int Salary get, set β˜‘οΈ 1000 3000

Validation Error Messages

ErrorMessageCode ErrorMessage
int ID
string FirstName
string LastName
string PhoneNumber
int Salary
πŸ”™πŸ 

Student

Type Properties Methods Required Min Max
int ID get, set β˜‘οΈ 1 no-limit
string FirstName get, set β˜‘οΈ 10 50
string LastName get, set β˜‘οΈ 10 50
string PhoneNumber get, set β˜‘οΈ 10 20
int Salary get, set β˜‘οΈ 1000 3000

Validation Error Messages

ErrorMessageCode ErrorMessage
int ID
string FirstName
string LastName
string PhoneNumber
int Salary

Course

Type Properties Methods Required Min Max
int ID get, set β˜‘οΈ 1 no-limit
string Title get, set β˜‘οΈ 10 50
string Description get, set β˜‘οΈ 10 50
int Duration get, set β˜‘οΈ 10 50
DateTime StarDate get, set β˜‘οΈ 10 50
string Catergory get, set β˜‘οΈ 10 20
List Trainer Trainers get,set β˜‘οΈ 1 no-limit

Validation Error Messages

ErrorMessageCode ErrorMessage
int ID
string FirstName
string LastName
string PhoneNumber
int Salary
πŸ”™πŸ 

Assignment

Type Properties Methods Required Min Max
int ID get, set β˜‘οΈ 1 no-limit
string FirstName get, set β˜‘οΈ 10 50
string LastName get, set β˜‘οΈ 10 50
string PhoneNumber get, set β˜‘οΈ 10 20
int Salary get, set β˜‘οΈ 1000 3000

Validation Error Messages

ErrorMessageCode ErrorMessage
int ID
string FirstName
string LastName
string PhoneNumber
int Salary
πŸ”™πŸ 

Interfaces

IPerson

Type Properties Methods
int ID get, set
string FirstName get, set
string LastName get, set
string PhoneNumber get, set
int Salary get, set

Repository

TrainerRepository

Method Properties Methods
int ID get, set
string FirstName get, set
string LastName get, set
string PhoneNumber get, set
int Salary get, set

StudentRepository

Method Properties Methods
int ID get, set
string FirstName get, set
string LastName get, set
string PhoneNumber get, set
int Salary get, set

CourseRepository

Method Properties Methods
int ID get, set
string FirstName get, set
string LastName get, set
string PhoneNumber get, set
int Salary get, set

AssignmentRepository

Method Properties Methods
int ID get, set
string FirstName get, set
string LastName get, set
string PhoneNumber get, set
int Salary get, set
πŸ”™πŸ 

Views

TrainerView

Methods

Title PARAMETER GOAL
GetAll ID
GetAllWithStudent FirstName
GetAllWithStudentAndCourses LastName
GetById PhoneNumber
Create Salary
Edit ID
Delete FirstName
GetAllWithStudentAndCourses LastName
GetCourses PhoneNumber
GetStudents Salary
Back to >Top<

StudentView

Methods

Title PARAMETER GOAL
GetAll ID
GetAllWithStudent FirstName
GetAllWithStudentAndCourses LastName
GetById PhoneNumber
Create Salary
Edit ID
Delete FirstName
GetAllWithStudentAndCourses LastName
GetCourses PhoneNumber
GetStudents Salary
πŸ”™πŸ 

CourseView

Methods

Title PARAMETER GOAL
GetAll ID
GetAllWithStudent FirstName
GetAllWithStudentAndCourses LastName
GetById PhoneNumber
Create Salary
Edit ID
Delete FirstName
GetAllWithStudentAndCourses LastName
GetCourses PhoneNumber
GetStudents Salary
πŸ”™πŸ 

AssignmentView

Methods

Title PARAMETER GOAL
GetAll ID
GetAllWithStudent FirstName
GetAllWithStudentAndCourses LastName
GetById PhoneNumber
Create Salary
Edit ID
Delete FirstName
GetAllWithStudentAndCourses LastName
GetCourses PhoneNumber
GetStudents Salary
πŸ”™πŸ 

Controllers

TrainerController

Method Properties Methods
Action ID get, set
Action FirstName get, set
Action LastName get, set
Action PhoneNumber get, set
Action Salary get, set

StudentController

Method Properties Methods
Action ID get, set
Action FirstName get, set
Action LastName get, set
Action PhoneNumber get, set
Action Salary get, set

CourseController

Method Properties Methods
Action ID get, set
Action FirstName get, set
Action LastName get, set
Action PhoneNumber get, set
Action Salary get, set

AssignmentController

Method Properties Methods
Action ID get, set
Action FirstName get, set
Action LastName get, set
Action PhoneNumber get, set
Action Salary get, set

Technologies and Tools

  • C#
  • Entity Framework
  • ASP.NET MVC Pattern)
  • Visual Studio Community Edition
  • Microsoft SQL Server
  • HTML
  • CSS
  • Bootstrap 4
  • Font Awesome
πŸ”™πŸ 

About

Coding Bootcamp ----> 2) Assignment : " CRUD "

Topics

asp-net-mvcassignmentbootstrap4coding-bootcampcrudcsharpdatabaseentity-frameworkentity-framework-code-firstform-validationhtml-css-javascripthtml-tablemicrosoft-sql-servermodel-view-controllerrepository-design-patternsqlvisual-code

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.