diff --git a/2. Services/2.1 Foundations/2.1 Foundations.md b/2. Services/2.1 Foundations/2.1 Foundations.md index c7b89f3..eaa6bd6 100644 --- a/2. Services/2.1 Foundations/2.1 Foundations.md +++ b/2. Services/2.1 Foundations/2.1 Foundations.md @@ -77,7 +77,7 @@ Foundation services should not integrate with more than one entity broker of any ### 2.1.2.2 Business Language Broker-neighboring services speak primitive business language for their operations. -For instance, while a Broker may provide a method with the name `InsertStudentAsync` - the equivelant of that on the service layer would be `AddStudentAsync`. +For instance, while a Broker may provide a method with the name `InsertStudentAsync` - the equivalant of that on the service layer would be `AddStudentAsync`. In general, most of the CRUD operations shall be converted from a storage language to a business language, and the same goes for non-storage operations such as Queues, for instance we say `PostQueueMessage` but on the business layer we shall say `EnqueueMessage`. @@ -394,7 +394,7 @@ private void Validate(params (dynamic Rule, string Parameter)[] validations) { if(rule.Condition) { - invalidStudentException.UpsertData(parameter, rule.Message); + invalidStudentException.UpsertDataList(parameter, rule.Message); } }