mattbruton / Zoolandia-CruddyAnimals

Group Project for .NET Cohort Evening 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zoolandia Razor

For this exercise you will create a trival web application that will Read entries stored within a database.

The goal of this project is to help students learn how to develop a web application using a tested Repository Pattern while implmenting Views in Razor. Students are tasked with completing a Zoolandia ERD as it is to be used for their models.

This solution contains:

  1. ASP.NET Web Application Project
  2. Unit Test Project

Rules

  • Complete Zoolandia ERD. Save the resultant diagram file in root directory of this assignment's repository.
  • Using the ERD you created in draw.io,
  • Create a model and matching migration for the ZoolandiaRazor project.
  • Implement a fully unit tested Repository.
  • Implement Fully implement the Razor Views for the supplied Animal, Habitat and Employee controllers using the Specifications below. should only be responsible for receiving user input and printing output.

Speicifications

You'll need to write produce the following HTML responses about Zoolandia.

  1. /Animal - The View should display a simple HTML list of all animals in your database. You should display the following information about each animal.
    1. Animal name (this information will be an anchor to take the user to the specific animal view)
    2. Current habitat in the zoo
  2. /Animal/Details/1 - When the id of an animal is in the URL, display information about that specific animal.
    1. Name
    2. Species common name (if exists)
    3. Species scientific name
    4. Current habitat
    5. Age of animal
  3. /Habitat - This will list all habitats open for public visitation.
    1. Habitat name
    2. How many animals currently in the habitat
  4. /Habitat/Details/1 - Display information about this specific habitat.
    1. Habitat name
    2. Habitat type
    3. List the names of the animals currently in the habitat
    4. List the employees currently assigned to maintenance of the habitat
  5. /Employee/ - List all employees
  6. /Employee/Details/1 - Show employees name, age, and habitats currently assigned to

About

Group Project for .NET Cohort Evening 3


Languages

Language:C# 43.4%Language:HTML 42.3%Language:JavaScript 13.5%Language:CSS 0.7%Language:ASP 0.1%