From ba5b7809ba42f64e554ac93e4671ae895de07a62 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Mon, 10 Dec 2018 09:06:54 +0300 Subject: [PATCH] Added note for app services --- docs/en/Best-Practices/Application-Services.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/Best-Practices/Application-Services.md b/docs/en/Best-Practices/Application-Services.md index 9c17b6db21..7624464e17 100644 --- a/docs/en/Best-Practices/Application-Services.md +++ b/docs/en/Best-Practices/Application-Services.md @@ -188,6 +188,8 @@ This method votes a question and returns the current score of the question. * **Do** implement application service interfaces in the **application layer**. * **Do** use the naming convention. Ex: Create `ProductAppService` class for the `IProductAppService` interface. * **Do** inherit from the `ApplicationService` base class. +* **Do** make all public methods **virtual**, so developers may inherit and override them. +* **Do not** make **private** methods. Instead make them **protected virtual**, so developers may inherit and override them. #### Using Repositories