Beispiel #1
0
        public async Task <Loan> Add(Loan loan)
        {
            await loanDbContext.AddAsync(loan);

            await loanDbContext.SaveChangesAsync();

            return(loan);
        }
Beispiel #2
0
        public async Task <Fee> Add(Fee Fee)
        {
            await loanDbContext.AddAsync(Fee);

            await loanDbContext.SaveChangesAsync();

            return(Fee);
        }
Beispiel #3
0
        public async Task <Rate> Add(Rate Rate)
        {
            await loanDbContext.AddAsync(Rate);

            await loanDbContext.SaveChangesAsync();

            return(Rate);
        }