Skip to content
Zach Sanford edited this page Nov 4, 2022 · 2 revisions

πŸ” Overview

This wiki page is for the models used within Staffify.

πŸ§‘β€πŸ’Ό Employee

File
~\Staffify\Models\Data\Employee.cs

This model is used throughout Staffify. It is based off of the requirements of the assessment. The only extra property that I added to it, is the Id property. This property is used for the database as the unique key for the Employee table.

The model features data annotations for the purpose of form validation.

πŸ“ AppSingletonData

File
~\Staffify\Services\AppSingletonData.cs

The AppSingletonData model is designed to hold data for the user session. This is added as a builder service and be used to pass data between pages. As of now there is only one property, but others can be added to it as the web application grows.

Staffify Wiki

  • πŸ§‘β€πŸ€β€πŸ§‘ Models

Clone this wiki locally