Esempio n. 1
0
        public ValueTask <CourseAttachment> AddCourseAttachmentAsync(CourseAttachment courseAttachment) =>
        TryCatch(async() =>
        {
            ValidateCourseAttachmentOnAdd(courseAttachment);

            return(await storageBroker.InsertCourseAttachmentAsync(courseAttachment));
        });