Beispiel #1
0
        public CourseBookmarkValidator(ICourseBookmarkServices courseBookmarkService)
        {
            RuleSet("AddBookmark", () =>
            {
            });

            RuleFor(x => x.UserProfile).NotEmpty();
            RuleFor(x => x.Course).NotEmpty();
        }
 public CourseBookmarkController(ICourseBookmarkServices coursebookmarkService)
 {
     _courseBookmarkService = coursebookmarkService;
 }