Skip to content

Inflo Software Tech Test - Implemented#1

Open
KDCheapCheap wants to merge 18 commits into
mainfrom
Development
Open

Inflo Software Tech Test - Implemented#1
KDCheapCheap wants to merge 18 commits into
mainfrom
Development

Conversation

@KDCheapCheap

Copy link
Copy Markdown
Owner

This works adds the following functionality:

  1. Filters Section (Standard)
    Implemented the remaining buttons using the following logic:
  • Active Only – This shows only users where their IsActive property is set to true
  • Non Active – This shows only users where their IsActive property is set to false
  1. User Model Properties (Standard)
  • Added a new property to the User class in the system called DateOfBirth which is used and displayed in relevant sections of the app.
  1. Actions Section (Standard)
  • Add – This screen allows you to create a new user and return to the list
  • View - Displays the information about a user
  • Edit – This screen allows you to edit a selected user from the list
  • Delete – Added buttons on relevant screens that allow you to delete a user
    Each of these screens contain appropriate data validation, which is communicated to the end user.
  1. Data Logging (Advanced)
  • Added a new DbSet and Model "UserLog" containing information relevant to an action on a user
  • These logs are created when an action is successful and saved to the database
  • Added screens to view all logs and all logs for a specific user
  • Added a screen that shows further log information (Before Change & After Change)
  1. Extend the Application (Expert)
  • Updated the data access layer to support asynchronous operations.

Bringing in the files from the original repo
The button seemed to be defaulting the request to a GET request, attempted fix to no avail. Fix was to make the function a HttpGet.
- Added new UserLog model
- Added UserLogActions enum
- Added new DbSet to store UserLogs
- Created a log inside the edit function

TODO: Add new service to add logs to the database & Create views and extra info on the users.
- Adding User Logs to the database
- CRUD Operations for logs (Excluding Update)
- Adding logs inside of Create/Edit/Delete User function
- Added new View to display all logs for a specific user
- Added buttons to Edit, view logs and delete a user to the UserSummary page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant