This application will allow employees of a hair salon to: see a list of stylists at the salon, select a stylist and see their details and a list of their clients, add a new stylist to the system when then are hired, add new clients to a specific stylist, also update and delete clients in the system.
- Input: nothing/null
- Output : empty string
- Input: Henry, Henry
- Output : true
- Input: "Henry"
- Output : "Henry"
- Input: Henry, 0
- Output : Henry, non zero
- Input: Henry, Sally, Bob, Joan
- Output : Henry, Sally, Bob, Joan
- Input: Henry
- Output : Henry
- Input: Nothing/null
- Output : empty string
- Input: Gwen, Gwen
- Output : true
- Input: Gwen
- Output : true
- Input: Gwen
- Output : 1
- Input: Gwen, Bill, Jane
- Output : Gwen, Bill, Jane
- Input: Gwen S replacing Gwen
- Output : Gwen S
When a user deletes a client, the Delete method will return an updated list without the deleted client.
- Input: DELETE Gwen S
- Output : Bill, Jane
Contact: Caitlin Hines- [email protected]
- SQLCMD:
- CREATE DATABASE hair_salon;
- GO
- USE hair_salon;
- GO
- CREATE TABLE stylists (id INT IDENTITY(1,1), name VARCHAR(255));
- CREATE TABLE clients (id INT IDENTITY(1,1), description VARCHAR(255));
- GO
- _Clone github repository:https://github.com/Hair-Salon
- _run dnu restore in terminal.
- reset server with "gnx kestrel"
- Open webpage on localhost:5004
HTML, CSS, Nancy, Razor, C#, SQL
MIT
Copyright (c) 2017 Caitlin Hines