Should service call another service or repository directly?
问题 I am creating the WebApplication, with many layers (for now important are Model, Repository, BusinessLayer) Having ClassService, ClassRepository and StudentService, StudentRepository, should ClassServiceMethod call methods from StudentService or StudentRepository? Please provide as many arguments or additional links/blogs/informations as possible :) Thanks in advance. Here is my example code, some generics are added. The question is about GetClassAndBestStudent method: Services - Business