public async Task DeleteByIdAsync(Guid productId) { var product = await _context.Users.FindAsync(productId); _context.Remove(product); }
public async Task DeleteByIdAsync(Guid userId) { var user = await _context.Users.FindAsync(userId); _context.Remove(user); }