# 1.4: ElevenNote.Services

In this module we'll add our ElevenNote.Services layer.

## Purpose

The purpose of our service layer will be to house our logic for using Entity Framework to interact with our database. Our services will be used by our WebApi and our MVC app to do the heavy lifting for our database CRUD operations.

## Set up

1. In the **Solution Explorer**, right click on the **ElevenNote** Solution
   * *Make sure to right click on the **Solution** and NOT the project **ElevenNote.WebMVC***
2. Go to **Add -> New Project**

   ![Add Project](https://3258533034-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAU8YfMZK4G04fkoGGv%2F-LAx9ezcVYX1tA5JFtBZ%2F-LAx9h4rt7q6EKyoOzPK%2F1.2-A.png?generation=1524665866289549\&alt=media)
3. Select **Visual C#**, then **Windows Classic Desktop**
4. Choose **Class Library**
5. Name the project **ElevenNote.Services**

   ![Class Library](https://3258533034-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAU8YfMZK4G04fkoGGv%2F-LD70E9vsOnMSIHsgt1C%2F-LD70GAxLsoHozoP9s-7%2F1.4-services.png?generation=1526995426472915\&alt=media)
6. In the **ElevenNote.Services** project, right click on `Class1.cs` and delete it
