3 Commits

Author SHA1 Message Date
73a674096a
fix: fix faulty relationship query preventing form deletion
Fixes #12.

Signed-off-by: miguel456 <me@nogueira.codes>
2022-10-22 00:19:17 +01:00
294c678283 Fix broken opt-in notifications 2022-02-11 00:51:16 +00:00
8942623bde
Added services
This commit moves most controller logic onto Services. Services are part of the Service-Repository pattern. The models act as repositories.

Services are easily testable and are needed for the upcoming API, in order to avoid duplicated code and to maintain a single source of "truth".

 The User, Vacancy and Vote controllers still need their logic moved onto services.
2021-07-25 22:54:15 +01:00