public async Task adduser(contosodb newuser) { await this.contosodbTable.InsertAsync(newuser); }
public async Task updateuserinfo(contosodb newinfo) { await this.contosodbTable.UpdateAsync(newinfo); }
public async Task getuserinfo(contosodb authenticate) { List <contosodb> items = await contosodbTable.Where(check => check.username == authenticate.username && check.password == authenticate.password).ToListAsync(); authenticate = items[0]; }