Ejemplo n.º 1
0
        public ValueTask <StudentRegistration> AddStudentRegistrationAsync(StudentRegistration studentRegistration) =>
        TryCatch(async() =>
        {
            ValidateStudentRegistrationOnCreate(studentRegistration);

            return(await storageBroker.InsertStudentRegistrationAsync(studentRegistration));
        });