Exemple #1
0
        public async Task AddUserAsync(Users user)
        {
            await db.Users.AddAsync(user);

            await db.SaveChangesAsync();
        }
        public async Task AddDriverAsync(Drivers driver)
        {
            await db.Drivers.AddAsync(driver);

            await db.SaveChangesAsync();
        }