示例#1
0
        Subjects ISubjectsService.FindById(int id)
        {
            Subjects user = repo.FindById(id);

            if (user == null)
            {
                throw new SubjectNotFoundException();
            }

            return(user);
        }