---
# System prepended metadata

title: Services interface notes

---

# Services interface notes

## Common usecases

Please document common usecases, take inspiration from existing services and endpoints.

* 



### This document contains ideas of how our interfaces should look like - where the model should be validated, in what way the service should signal errors etc.

The test commit that uses FluentValidation, `Result` class (I guess it's very contradictory based on previous disscussions), does not throw exceptions to handle the flow, but passes them though the `Result` object. https://dev.miaplaza.com/vshtenovych/website/-/commit/f5f5797baa4aa217a48628005b57d99572727cd2 (approach mostly powered by a [following video](https://youtu.be/a1ye9eGTB98) shared by @vkokoshko).