public async Task AddUserProductAsync(UserProduct userProduct) { _onDutyContent.Add(userProduct); await _onDutyContent.SaveChangesAsync(); }
public async Task RemoveUserProductAsync(UserProduct userProduct) { _onDutyContent.Remove(userProduct); await _onDutyContent.SaveChangesAsync(); }