Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 713 Bytes

File metadata and controls

18 lines (14 loc) · 713 Bytes

ASP.NET_Assignment_2 : Employee management system

Introduction

Create 2 models Employee, Department.

  1. Employee models contains Id, Name (Max 30 char limit), Age (Max age 100, Min age 21), Department, Salary.
  2. Department model contains Id, Department Name(Max 50 char limit). (Need to create a foreign key relation in Employee model for department)

Requirement

Create the following public APIs. (Note: All APIs should accept the request and return a response of "application/json" type. Store the data in the DATABASE.):

  1. Swagger Integration
  2. Department - Add / Edit / Delete.
  3. Get list of Department.
  4. Employee - Add / Edit / Delete / Get.
  5. Get list of Employee.
  6. Proper Validations.