Esempio n. 1
0
        public async ValueTask <StudentExamFee> DeleteStudentExamFeeAsync(StudentExamFee studentExamFee)
        {
            using var broker = new StorageBroker(this.configuration);
            EntityEntry <StudentExamFee> studentExamFeeEntityEntry = broker.StudentExamFees.Remove(studentExamFee);
            await broker.SaveChangesAsync();

            return(studentExamFeeEntityEntry.Entity);
        }
Esempio n. 2
0
        public async ValueTask <Fee> DeleteFeeAsync(Fee fee)
        {
            using var broker = new StorageBroker(this.configuration);
            EntityEntry <Fee> feeEntityEntry = broker.Fees.Remove(fee);
            await broker.SaveChangesAsync();

            return(feeEntityEntry.Entity);
        }
Esempio n. 3
0
        public async ValueTask <ExamFee> DeleteExamFeeAsync(ExamFee examFee)
        {
            using var broker = new StorageBroker(this.configuration);
            EntityEntry <ExamFee> examFeeEntityEntry = broker.ExamFees.Remove(examFee);
            await broker.SaveChangesAsync();

            return(examFeeEntityEntry.Entity);
        }